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.JobConfigurablepublic int getPartition(ChukwaArchiveKey key, ChunkImpl chunk, int numReduceTasks)
getPartition in interface org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>Copyright © 2015 Apache Software Foundation. All Rights Reserved.