public class ChukwaRecordPartitioner<K,V> extends Object implements org.apache.hadoop.mapred.Partitioner<ChukwaRecordKey,ChukwaRecord>
Constructor and Description |
---|
ChukwaRecordPartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
int |
getPartition(ChukwaRecordKey key,
ChukwaRecord record,
int numReduceTasks) |
public void configure(org.apache.hadoop.mapred.JobConf arg0)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
public int getPartition(ChukwaRecordKey key, ChukwaRecord record, int numReduceTasks)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<ChukwaRecordKey,ChukwaRecord>
Copyright © 2015 Apache Software Foundation. All Rights Reserved.