Class MultithreadedTableMapper<K2,V2>

java.lang.Object
org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<K2,V2>
org.apache.hadoop.hbase.mapreduce.MultithreadedTableMapper<K2,V2>

@Private public class MultithreadedTableMapper<K2,V2> extends TableMapper<K2,V2>
Multithreaded implementation for @link org.apache.hbase.mapreduce.TableMapper

It can be used instead when the Map operation is not CPU bound in order to improve throughput.

Mapper implementations using this MapRunnable must be thread-safe.

The Map-Reduce job has to be configured with the mapper to use via setMapperClass(org.apache.hadoop.mapreduce.Job, java.lang.Class<? extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, K2, V2>>) and the number of thread the thread-pool can use with the getNumberOfThreads(org.apache.hadoop.mapreduce.JobContext) method. The default value is 10 threads.