You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/01/11 19:24:00 UTC

[jira] [Updated] (FLINK-23946) Application mode fails fatally when being shut down

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

Martijn Visser updated FLINK-23946:
-----------------------------------
    Fix Version/s: 1.14.4
                       (was: 1.14.3)

> 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
>            Assignee: David Morávek
>            Priority: Critical
>              Labels: pull-request-available, stale-assigned
>             Fix For: 1.15.0, 1.13.6, 1.14.4
>
>
> 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.20.1#820001)