protected static class DemoWordCountJson.MyReducer extends org.apache.hadoop.mapreduce.Reducer<DemoWordCountJson.MyKey,org.apache.hadoop.io.IntWritable,DemoWordCountJson.MyKey,org.apache.hadoop.io.IntWritable>
| Modifier | Constructor and Description |
|---|---|
protected |
DemoWordCountJson.MyReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(DemoWordCountJson.MyKey keyIn,
Iterable<org.apache.hadoop.io.IntWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public void reduce(DemoWordCountJson.MyKey keyIn, Iterable<org.apache.hadoop.io.IntWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<DemoWordCountJson.MyKey,org.apache.hadoop.io.IntWritable,DemoWordCountJson.MyKey,org.apache.hadoop.io.IntWritable>IOExceptionInterruptedExceptionCopyright © 2015. All rights reserved.