You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Andrey Zagrebin (JIRA)" <ji...@apache.org> on 2019/04/09 15:51:00 UTC
[jira] [Comment Edited] (FLINK-11843) Dispatcher fails to recover
jobs if leader change happens during JobManagerRunner termination
[ https://issues.apache.org/jira/browse/FLINK-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813562#comment-16813562 ]
Andrey Zagrebin edited comment on FLINK-11843 at 4/9/19 3:50 PM:
-----------------------------------------------------------------
As discussed in [PR|https://github.com/apache/flink/pull/7889] for FLINK-11665, FLINK-11665 can be also resolved by the more proper Dispatcher/LeaderStore lifecycle addressed in the scope of this issue FLINK-11843.
was (Author: azagrebin):
As discussed in [PR|https://github.com/apache/flink/pull/7889] for FLINK-11665, FLINK-11665 can be also resolved by the more proper Dispatcher/LeaderStore lifecycle addressed in the scope of this issue.
> Dispatcher fails to recover jobs if leader change happens during JobManagerRunner termination
> ---------------------------------------------------------------------------------------------
>
> Key: FLINK-11843
> URL: https://issues.apache.org/jira/browse/FLINK-11843
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.7.2, 1.8.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Critical
>
> The {{Dispatcher}} fails to recover jobs if a leader change happens during the {{JobManagerRunner}} termination of the previous run. The problem is that we schedule the start future of the recovered {{JobGraph}} using the {{MainThreadExecutor}} and additionally require that this future is completed before any other recovery operation from a subsequent leadership session is executed. If now the leadership changes, the {{MainThreadExecutor}} will be invalidated and the scheduled future will never be completed.
> The relevant ML thread: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/1-7-1-job-stuck-in-suspended-state-td26439.html
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)