Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.14.0, 1.12.5, 1.13.2
Description
The application mode fails fatally when being shut down (e.g. if the Dispatcher loses its leadership). The problem seems to be that the ApplicationDispatcherBootstrap cancels the applicationExecutionTask and applicationCompletionFuture that can trigger the execution of the fatal exception handler in the handler of the applicationCompletionFuture.
I suggest to only call the fatal exception handler if an unexpected exception occurs in the applicationCompletionFuture callback.
Attachments
Issue Links
- causes
-
FLINK-25271 ApplicationDispatcherBootstrapITCase. testDispatcherRecoversAfterLosingAndRegainingLeadership failed on azure
- Resolved
- is blocked by
-
FLINK-24038 DispatcherResourceManagerComponent fails to deregister application if no leading ResourceManager
- Closed
- is related to
-
FLINK-25235 Re-enable ZooKeeperLeaderElectionITCase#testJobExecutionOnClusterWithLeaderChange
- Resolved
- links to