use of org.apache.metron.hbase.client.HBaseClient in project metron by apache.
the class HBaseBolt method prepare.
@Override
public void prepare(Map map, TopologyContext topologyContext, OutputCollector collector) {
this.collector = collector;
this.batchHelper = new BatchHelper(batchSize, collector);
TableProvider provider = this.tableProvider == null ? getTableProvider(tableProviderClazzName) : this.tableProvider;
hbaseClient = new HBaseClient(provider, HBaseConfiguration.create(), tableName);
}
Aggregations