|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskAttemptListener
This class listens for changes to the state of a Task.
| Method Summary | |
|---|---|
InetSocketAddress |
getAddress()
|
void |
registerLaunchedTask(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
WrappedJvmID jvmID)
Register task attempt. |
void |
registerPendingTask(org.apache.hadoop.mapred.Task task,
WrappedJvmID jvmID)
Register a JVM with the listener. |
void |
unregister(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
WrappedJvmID jvmID)
Unregister the JVM and the attempt associated with it. |
| Method Detail |
|---|
InetSocketAddress getAddress()
void registerPendingTask(org.apache.hadoop.mapred.Task task,
WrappedJvmID jvmID)
task - the task itself for this JVM.jvmID - The ID of the JVM .
void registerLaunchedTask(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
WrappedJvmID jvmID)
attemptID - the id of the attempt for this JVM.jvmID - the ID of the JVM.
void unregister(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
WrappedJvmID jvmID)
attemptID - the ID of the attempt.jvmID - the ID of the JVM for that attempt.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||