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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)