org.apache.hadoop.mapreduce.task.reduce
Interface ShuffleScheduler<K,V>
- All Known Implementing Classes:
- ShuffleSchedulerImpl
@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface ShuffleScheduler<K,V>
waitUntilDone
boolean waitUntilDone(int millis)
throws InterruptedException
- Wait until the shuffle finishes or until the timeout.
- Parameters:
millis
- maximum wait time
- Returns:
- true if the shuffle is done
- Throws:
InterruptedException
resolve
void resolve(TaskCompletionEvent tce)
throws IOException,
InterruptedException
- Interpret a
TaskCompletionEvent
from the event stream.
- Parameters:
tce
- Intermediate output metadata
- Throws:
IOException
InterruptedException
close
void close()
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.