public static class ValueGroupCountMapReduce.Reduce
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable>
| Constructor and Description |
|---|
Reduce() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
void |
reduce(org.apache.hadoop.io.WritableComparable key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionpublic void reduce(org.apache.hadoop.io.WritableComparable key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionpublic void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.WritableComparable,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionCopyright © 2012–2016. All rights reserved.