public class ChukwaArchiveDailyPartitioner<K,V> extends Object implements org.apache.hadoop.mapred.Partitioner<ChukwaArchiveKey,ChunkImpl>
Constructor and Description |
---|
ChukwaArchiveDailyPartitioner() |
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 © 2016 Apache Software Foundation. All Rights Reserved.