use of org.apache.metron.enrichment.lookup.accesstracker.NoopAccessTracker in project metron by apache.
the class SimpleHBaseAdapter method initializeAdapter.
@Override
public boolean initializeAdapter(Map<String, Object> configuration) {
String hbaseTable = config.getHBaseTable();
Configuration hbaseConfig = HBaseConfiguration.create();
try {
lookup = new EnrichmentLookup(config.getProvider().getTable(hbaseConfig, hbaseTable), config.getHBaseCF(), new NoopAccessTracker());
} catch (IOException e) {
LOG.error("Unable to initialize adapter: {}", e.getMessage(), e);
return false;
}
return true;
}
Aggregations