public interface TaskAttemptListener
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.