- Type Parameters:
K2
-
V2
-
- All Implemented Interfaces:
- org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<ImmutableBytesWritable,V2>
@InterfaceAudience.Public
public class HRegionPartitioner<K2,V2>
extends Object
implements org.apache.hadoop.mapred.Partitioner<ImmutableBytesWritable,V2>
This is used to partition the output keys into groups of keys.
Keys are grouped according to the regions that currently exist
so that each reducer fills a single region so load is distributed.