public class HadoopCombine extends org.apache.hadoop.mapreduce.Reducer<ObjectWritable,ObjectWritable,ObjectWritable,ObjectWritable>
Modifier and Type | Class and Description |
---|---|
class |
HadoopCombine.HadoopCombineEmitter<OK,OV> |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
void |
reduce(ObjectWritable key,
Iterable<ObjectWritable> 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)
setup
in class org.apache.hadoop.mapreduce.Reducer<ObjectWritable,ObjectWritable,ObjectWritable,ObjectWritable>
public void reduce(ObjectWritable key, Iterable<ObjectWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<ObjectWritable,ObjectWritable,ObjectWritable,ObjectWritable>
IOException
InterruptedException
public void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
cleanup
in class org.apache.hadoop.mapreduce.Reducer<ObjectWritable,ObjectWritable,ObjectWritable,ObjectWritable>
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.