[ 
https://issues.apache.org/jira/browse/FLINK-23946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Till Rohrmann updated FLINK-23946:
----------------------------------
    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.

  was: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}}.


> Application mode fails fatally when being shut down
> ---------------------------------------------------
>
>                 Key: FLINK-23946
>                 URL: https://issues.apache.org/jira/browse/FLINK-23946
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.14.0, 1.12.5, 1.13.2
>            Reporter: Till Rohrmann
>            Priority: Critical
>             Fix For: 1.14.0, 1.12.6, 1.13.3
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to