private ExecutorService createExecutorService() {
    ThreadPoolExecutor pool = new ThreadPoolExecutor(nrThreads, nrThreads, 60, TimeUnit.SECONDS,
      new LinkedBlockingQueue<>(),
      new ThreadFactoryBuilder().setNameFormat("BulkLoadHFilesTool-%1$d").setDaemon(true).build());
    pool.allowCoreThreadTimeOut(true);
    return pool;
  }
HBASE-24221 Support bulkLoadHFile by family to avoid long time waiting of bulkLoadHFile because
of compacting at server side
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java