Interface CheckpointFailureManager.FailJobCallback
- Enclosing class:
- CheckpointFailureManager
public static interface CheckpointFailureManager.FailJobCallback
A callback interface about how to fail a job.
-
Method Summary
Modifier and TypeMethodDescriptionvoidFails the whole job graph.voidfailJobDueToTaskFailure(Throwable cause, ExecutionAttemptID failingTask) Fails the whole job graph due to task failure.
-
Method Details
-
failJob
Fails the whole job graph.- Parameters:
cause- The reason why the synchronous savepoint fails.
-
failJobDueToTaskFailure
Fails the whole job graph due to task failure.- Parameters:
cause- The reason why the job is cancelled.failingTask- The id of the failing task attempt to prevent failing the job multiple times.
-