@InterfaceAudience.LimitedPrivate(value="MapReduce") @InterfaceStability.Unstable public class Shuffle<K,V> extends Object implements ShuffleConsumerPlugin<K,V>, ExceptionReporter
Modifier and Type | Class and Description |
---|---|
static class |
Shuffle.ShuffleError |
ShuffleConsumerPlugin.Context<K,V>
Constructor and Description |
---|
Shuffle() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected MergeManager<K,V> |
createMergeManager(ShuffleConsumerPlugin.Context context) |
void |
init(ShuffleConsumerPlugin.Context context) |
void |
reportException(Throwable t) |
RawKeyValueIterator |
run() |
public void init(ShuffleConsumerPlugin.Context context)
init
in interface ShuffleConsumerPlugin<K,V>
protected MergeManager<K,V> createMergeManager(ShuffleConsumerPlugin.Context context)
public RawKeyValueIterator run() throws IOException, InterruptedException
run
in interface ShuffleConsumerPlugin<K,V>
IOException
InterruptedException
public void close()
close
in interface ShuffleConsumerPlugin<K,V>
public void reportException(Throwable t)
reportException
in interface ExceptionReporter
Copyright © 2017 Apache Software Foundation. All Rights Reserved.