public class ChukwaArchiveStreamNamePartitioner<K,V> extends Object implements org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>
Constructor and Description |
---|
ChukwaArchiveStreamNamePartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
int |
getPartition(ChukwaArchiveKey key,
ChunkImpl chunk,
int numReduceTasks) |
public void configure(org.apache.hadoop.mapred.JobConf arg0)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
public int getPartition(ChukwaArchiveKey key, ChunkImpl chunk, int numReduceTasks)
getPartition
in interface org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>
Copyright © ${year} The Apache Software Foundation