// we need an HBaseRepository for bulk access
Configuration conf = HBaseConfiguration.create();
conf.set("hbase.zookeeper.quorum", zkConnString);
HBaseTableFactory hbaseTableFactory = new HBaseTableFactoryImpl(conf);
HBaseRepository hbaseRepository = createHBaseRepository(repositoryName, tableName, zk, conf, hbaseTableFactory);
return new BulkIngester(
lilyClient,
hbaseRepository,
LilyHBaseSchema.getRecordTable(hbaseTableFactory, hbaseRepository.getRepositoryName(),
hbaseRepository.getTableName()),
bulkMode);
} catch (Exception e) {
ExceptionUtil.handleInterrupt(e);
throw new RuntimeException(e);