org.apache.hadoop.mapreduce.task.reduce
Class Shuffle<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.task.reduce.Shuffle<K,V>
- All Implemented Interfaces:
- ShuffleConsumerPlugin<K,V>, ExceptionReporter
@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public class Shuffle<K,V>
- extends Object
- implements ShuffleConsumerPlugin<K,V>, ExceptionReporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shuffle
public Shuffle()
init
public void init(ShuffleConsumerPlugin.Context context)
- Specified by:
init
in interface ShuffleConsumerPlugin<K,V>
createMergeManager
protected MergeManager<K,V> createMergeManager(ShuffleConsumerPlugin.Context context)
run
public RawKeyValueIterator run()
throws IOException,
InterruptedException
- Specified by:
run
in interface ShuffleConsumerPlugin<K,V>
- Throws:
IOException
InterruptedException
close
public void close()
- Specified by:
close
in interface ShuffleConsumerPlugin<K,V>
reportException
public void reportException(Throwable t)
- Specified by:
reportException
in interface ExceptionReporter
Copyright © 2013 Apache Software Foundation. All Rights Reserved.