public interface TaskManagerActions
|Modifier and Type||Method and Description|
Tells the task manager to fail the given task.
Notifies the task manager about a fatal error occurred in the task.
Notifies the task manager about the task execution state update.
void notifyFatalError(String message, Throwable cause)
message- Message to report
cause- Cause of the fatal error
void failTask(ExecutionAttemptID executionAttemptID, Throwable cause)
executionAttemptID- Execution attempt ID of the task to fail
cause- Cause of the failure
void updateTaskExecutionState(TaskExecutionState taskExecutionState)
taskExecutionState- Task execution state update
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.