public static class DetermineHashedPartitionsJob.DetermineCardinalityReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
| Modifier and Type | Field and Description |
|---|---|
protected HadoopDruidIndexerConfig |
config |
| Constructor and Description |
|---|
DetermineHashedPartitionsJob.DetermineCardinalityReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reduce(org.apache.hadoop.io.LongWritable key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
void |
run(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected HadoopDruidIndexerConfig config
public DetermineHashedPartitionsJob.DetermineCardinalityReducer()
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.LongWritable key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic void run(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
run in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionCopyright © 2011–2015. All rights reserved.