org.apache.hadoop.mapreduce.task.reduce
Class DirectShuffleEventFetcher<K,V>
java.lang.Object
java.lang.Thread
org.apache.hadoop.mapreduce.task.reduce.DirectShuffleEventFetcher<K,V>
- All Implemented Interfaces:
- Runnable
public class DirectShuffleEventFetcher<K,V>
- extends Thread
|
Constructor Summary |
DirectShuffleEventFetcher(org.apache.hadoop.mapreduce.TaskAttemptID reduce,
org.apache.hadoop.mapred.TaskUmbilicalProtocol umbilical,
org.apache.hadoop.mapreduce.task.reduce.ShuffleScheduler<K,V> scheduler,
org.apache.hadoop.mapreduce.task.reduce.ExceptionReporter reporter,
int maxEventsToFetch)
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
DirectShuffleEventFetcher
public DirectShuffleEventFetcher(org.apache.hadoop.mapreduce.TaskAttemptID reduce,
org.apache.hadoop.mapred.TaskUmbilicalProtocol umbilical,
org.apache.hadoop.mapreduce.task.reduce.ShuffleScheduler<K,V> scheduler,
org.apache.hadoop.mapreduce.task.reduce.ExceptionReporter reporter,
int maxEventsToFetch)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
shutDown
public void shutDown()
getMapCompletionEvents
protected int getMapCompletionEvents()
throws IOException,
InterruptedException
- Queries the
TaskTracker for a set of map-completion events
from a given event ID.
- Throws:
IOException
InterruptedException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.