org.apache.hadoop.hbase.mapred
Class HRegionPartitioner<K2,V2>
java.lang.Object
org.apache.hadoop.hbase.mapred.HRegionPartitioner<K2,V2>
- Type Parameters:
K2
- V2
-
- All Implemented Interfaces:
- org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<ImmutableBytesWritable,V2>
Deprecated.
@Deprecated
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HRegionPartitioner
public HRegionPartitioner()
- Deprecated.
configure
public void configure(org.apache.hadoop.mapred.JobConf job)
- Deprecated.
- Specified by:
configure
in interface org.apache.hadoop.mapred.JobConfigurable
getPartition
public int getPartition(ImmutableBytesWritable key,
V2 value,
int numPartitions)
- Deprecated.
- Specified by:
getPartition
in interface org.apache.hadoop.mapred.Partitioner<ImmutableBytesWritable,V2>
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.