*
* @param threadPool instance of {@link ExecutorService} to use
* @return instance of {@link HaeinsaTablePool}
*/
public static HaeinsaTablePool createHaeinsaTablePool(Configuration conf, final ExecutorService threadPool) {
return new HaeinsaTablePool(conf, 128, new DefaultHaeinsaTableIfaceFactory(new HTableInterfaceFactory() {
@Override
public HTableInterface createHTableInterface(Configuration config, byte[] tableName) {
try {
return new HTable(tableName, HConnectionManager.getConnection(config), threadPool);
} catch (ZooKeeperConnectionException e) {