Source:
private synchronized void create(int myHostId, CatalogContext catalogContext) { try { ImportType importElement = catalogContext.getDeployment().getImport(); if (importElement == null || importElement.getConfiguration().isEmpty()) { return; } initializeChannelDistributer(); final String clusterTag = m_distributer.getClusterTag(); ImportDataProcessor newProcessor = new ImportProcessor( myHostId, m_distributer, m_statsCollector, clusterTag); m_processorConfig = CatalogUtil.getImportProcessorConfig(catalogContext.getDeployment().getImport()); m_formatterFactories.clear(); for (ImportConfiguration config : m_processorConfig.values()) { Properties prop = config.getformatterProperties(); String module = prop.getProperty(ImportDataProcessor.IMPORT_FORMATTER); try { AbstractFormatterFactory formatterFactory = m_formatterFactories.get(module); if (formatterFactory == null) { URI moduleURI = URI.create(module); formatterFactory = m_moduleManager.getService(moduleURI, AbstractFormatterFactory.class); if (formatterFactory == null) { VoltDB.crashLocalVoltDB("Failed to initialize formatter from: " + module); } m_formatterFactories.put(module, formatterFactory); } config.setFormatterFactory(formatterFactory); } catch(Throwable t) { VoltDB.crashLocalVoltDB("Failed to configure import handler for " + module); } } discoverConfigsAndLoadBundles(catalogContext); if (!m_configsForProcessor.isEmpty()) { newProcessor.setProcessorConfig(m_configsForProcessor, m_loadedBundles); m_processor.set(newProcessor); } } catch (final Exception e) { VoltDB.crashLocalVoltDB("Error creating import processor", true, e); } }

Target:
private synchronized void create(int myHostId, CatalogContext catalogContext) { try { ImportType importElement = catalogContext.getDeployment().getImport(); if (importElement == null || importElement.getConfiguration().isEmpty()) { return; } initializeChannelDistributer(); final String clusterTag = m_distributer.getClusterTag(); ImportDataProcessor newProcessor = new ImportProcessor( myHostId, m_distributer, m_statsCollector, clusterTag); m_processorConfig = CatalogUtil.getImportProcessorConfig(catalogContext.getDeployment().getImport()); m_formatterFactories.clear(); for (ImportConfiguration config : m_processorConfig.values()) { Properties prop = config.getformatterProperties(); String module = prop.getProperty(ImportDataProcessor.IMPORT_FORMATTER); try { AbstractFormatterFactory formatterFactory = m_formatterFactories.get(module); if (formatterFactory == null) { URI moduleURI = URI.create(module); formatterFactory = m_moduleManager.getService(moduleURI, AbstractFormatterFactory.class); if (formatterFactory == null) { VoltDB.crashLocalVoltDB("Failed to initialize formatter from: " + module); } m_formatterFactories.put(module, formatterFactory); } config.setFormatterFactory(formatterFactory); } catch(Throwable t) { VoltDB.crashLocalVoltDB("Failed to configure import handler for " + module); } } discoverConfigsAndLoadBundles(catalogContext); if (!m_configsForProcessor.isEmpty()) { newProcessor.setProcessorConfig(m_configsForProcessor, m_loadedBundles); m_processor.set(newProcessor); } else { m_processor.set(null); } } catch (final Exception e) { VoltDB.crashLocalVoltDB("Error creating import processor", true, e); } }