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