You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/11/06 15:33:00 UTC

[jira] [Created] (FLINK-20033) Job fails when stopping JobMaster

Till Rohrmann created FLINK-20033:
-------------------------------------

             Summary: Job fails when stopping JobMaster
                 Key: FLINK-20033
                 URL: https://issues.apache.org/jira/browse/FLINK-20033
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.11.2, 1.10.2
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.10.3, 1.11.3


When a {{JobMaster}} is stopped, we first disconnect all {{TaskExecutors}}. This disconnection causes potentially running {{Executions}} to fail. This in turn can cause a restart of the job or in the worst case a transition into {{FAILED}} state if the restarts are depleted. This again can cause the clean up of HA data.

Instead of failing the job, the job should be suspended if the {{JobMaster}} gets stopped because this happens if the {{Dispatcher}} loses its leadership. The problem has been fixed unintentionally by FLINK-19237 in the master branch.



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