public static int getNumberOfThreads(JobContext job) {
    return job.getConfiguration().getInt(NUMBER_OF_THREADS, 10);
  }
The number of threads in the thread pool that will run the map function.
@param job the job
@return the number of threads
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/MultithreadedTableMapper.java