sinkCounter.incrementConnectionCreatedCount();
sinkCallbackPool = Executors.newCachedThreadPool(new ThreadFactoryBuilder()
.setNameFormat(this.getName() + " HBase Call Pool").build());
logger.info("Callback pool created");
if(!isTimeoutTest) {
client = new HBaseClient(zkQuorum, zkBaseDir, sinkCallbackPool);
} else {
client = new HBaseClient(zkQuorum, zkBaseDir,
new NioClientSocketChannelFactory(Executors
.newSingleThreadExecutor(),
Executors.newSingleThreadExecutor()));
}
final CountDownLatch latch = new CountDownLatch(1);