Interface InternalFailuresListener
-
- All Known Implementing Classes:
UpdateSchedulerNgOnInternalFailuresListener
public interface InternalFailuresListenerThis interface enables subscribing to failures that are detected from the JobMaster side (e.g., from within theExecutionGraph). In contrast, there are also failures that are detected by the TaskManager, which are communicated viaJobMasterGateway.updateTaskExecutionState(TaskExecutionState).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyGlobalFailure(Throwable t)voidnotifyTaskFailure(ExecutionAttemptID attemptId, Throwable t, boolean cancelTask, boolean releasePartitions)
-
-
-
Method Detail
-
notifyTaskFailure
void notifyTaskFailure(ExecutionAttemptID attemptId, Throwable t, boolean cancelTask, boolean releasePartitions)
-
notifyGlobalFailure
void notifyGlobalFailure(Throwable t)
-
-