org.apache.hadoop.mapreduce.task.reduce
Class Shuffle<K,V>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.task.reduce.Shuffle<K,V>

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class Shuffle<K,V>
extends Object


Nested Class Summary
static class Shuffle.ShuffleError
           
 
Constructor Summary
Shuffle(TaskAttemptID reduceId, JobConf jobConf, org.apache.hadoop.fs.FileSystem localFS, TaskUmbilicalProtocol umbilical, org.apache.hadoop.fs.LocalDirAllocator localDirAllocator, Reporter reporter, org.apache.hadoop.io.compress.CompressionCodec codec, Class<? extends Reducer> combinerClass, Task.CombineOutputCollector<K,V> combineCollector, Counters.Counter spilledRecordsCounter, Counters.Counter reduceCombineInputCounter, Counters.Counter shuffledMapsCounter, Counters.Counter reduceShuffleBytes, Counters.Counter failedShuffleCounter, Counters.Counter mergedMapOutputsCounter, TaskStatus status, org.apache.hadoop.util.Progress copyPhase, org.apache.hadoop.util.Progress mergePhase, Task reduceTask, MapOutputFile mapOutputFile)
           
 
Method Summary
 void reportException(Throwable t)
           
 RawKeyValueIterator run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shuffle

public Shuffle(TaskAttemptID reduceId,
               JobConf jobConf,
               org.apache.hadoop.fs.FileSystem localFS,
               TaskUmbilicalProtocol umbilical,
               org.apache.hadoop.fs.LocalDirAllocator localDirAllocator,
               Reporter reporter,
               org.apache.hadoop.io.compress.CompressionCodec codec,
               Class<? extends Reducer> combinerClass,
               Task.CombineOutputCollector<K,V> combineCollector,
               Counters.Counter spilledRecordsCounter,
               Counters.Counter reduceCombineInputCounter,
               Counters.Counter shuffledMapsCounter,
               Counters.Counter reduceShuffleBytes,
               Counters.Counter failedShuffleCounter,
               Counters.Counter mergedMapOutputsCounter,
               TaskStatus status,
               org.apache.hadoop.util.Progress copyPhase,
               org.apache.hadoop.util.Progress mergePhase,
               Task reduceTask,
               MapOutputFile mapOutputFile)
Method Detail

run

public RawKeyValueIterator run()
                        throws IOException,
                               InterruptedException
Throws:
IOException
InterruptedException

reportException

public void reportException(Throwable t)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.