Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23946

Application mode fails fatally when being shut down

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              dmvk David Morávek
              trohrmann Till Rohrmann
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: