org.apache.hadoop.mapreduce.task.reduce
Class DirectShuffle<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.task.reduce.DirectShuffle<K,V>
- All Implemented Interfaces:
- org.apache.hadoop.mapred.ShuffleConsumerPlugin<K,V>, org.apache.hadoop.mapreduce.task.reduce.ExceptionReporter
public class DirectShuffle<K,V>
- extends Object
- implements org.apache.hadoop.mapred.ShuffleConsumerPlugin<K,V>, org.apache.hadoop.mapreduce.task.reduce.ExceptionReporter
| Nested classes/interfaces inherited from interface org.apache.hadoop.mapred.ShuffleConsumerPlugin |
org.apache.hadoop.mapred.ShuffleConsumerPlugin.Context<K,V> |
|
Method Summary |
void |
close()
|
protected org.apache.hadoop.mapreduce.task.reduce.MergeManager<K,V> |
createMergeManager(org.apache.hadoop.mapred.ShuffleConsumerPlugin.Context<K,V> context)
|
void |
init(org.apache.hadoop.mapred.ShuffleConsumerPlugin.Context<K,V> context)
|
void |
reportException(Throwable t)
|
org.apache.hadoop.mapred.RawKeyValueIterator |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectShuffle
public DirectShuffle()
reportException
public void reportException(Throwable t)
- Specified by:
reportException in interface org.apache.hadoop.mapreduce.task.reduce.ExceptionReporter
init
public void init(org.apache.hadoop.mapred.ShuffleConsumerPlugin.Context<K,V> context)
- Specified by:
init in interface org.apache.hadoop.mapred.ShuffleConsumerPlugin<K,V>
run
public org.apache.hadoop.mapred.RawKeyValueIterator run()
throws IOException,
InterruptedException
- Specified by:
run in interface org.apache.hadoop.mapred.ShuffleConsumerPlugin<K,V>
- Throws:
IOException
InterruptedException
close
public void close()
- Specified by:
close in interface org.apache.hadoop.mapred.ShuffleConsumerPlugin<K,V>
createMergeManager
protected org.apache.hadoop.mapreduce.task.reduce.MergeManager<K,V> createMergeManager(org.apache.hadoop.mapred.ShuffleConsumerPlugin.Context<K,V> context)
throws IOException
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.