public class RangeKeyDistributionReducer extends KylinReducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
| Modifier and Type | Field and Description |
|---|---|
static long |
ONE_GIGA_BYTES |
reduceCounter| Constructor and Description |
|---|
RangeKeyDistributionReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
void |
doReduce(org.apache.hadoop.io.Text key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
bindCurrentConfiguration, cleanup, reducepublic static final long ONE_GIGA_BYTES
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>IOExceptionpublic void doReduce(org.apache.hadoop.io.Text key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
doReduce in class KylinReducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionprotected void doCleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
doCleanup in class KylinReducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionCopyright © 2014–2017 Apache Software Foundation. All rights reserved.