Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08CAF200BF8 for ; Fri, 13 Jan 2017 11:55:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 075A7160B47; Fri, 13 Jan 2017 10:55:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 52660160B32 for ; Fri, 13 Jan 2017 11:55:29 +0100 (CET) Received: (qmail 44371 invoked by uid 500); 13 Jan 2017 10:55:28 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 44362 invoked by uid 99); 13 Jan 2017 10:55:28 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 10:55:28 +0000 Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7B2DB25284 for ; Fri, 13 Jan 2017 10:55:26 +0000 (UTC) Date: Fri, 13 Jan 2017 10:55:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4912) Introduce RECONCILING state in ExecutionGraph MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 10:55:30 -0000 [ https://issues.apache.org/jira/browse/FLINK-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821613#comment-15821613 ] ASF GitHub Bot commented on FLINK-4912: --------------------------------------- Github user wangzhijiang999 commented on a diff in the pull request: https://github.com/apache/flink/pull/3113#discussion_r95975088 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/execution/ExecutionState.java --- @@ -25,16 +25,23 @@ *
{@code
      *
      *     CREATED  -> SCHEDULED -> DEPLOYING -> RUNNING -> FINISHED
    - *                     |            |          |
    - *                     |            |   +------+
    - *                     |            V   V
    - *                     |         CANCELLING -----+----> CANCELED
    - *                     |                         |
    - *                     +-------------------------+
    + *            |         |            |          |
    + *            |         |            |   +------+
    + *            |         |            V   V
    + *            |         |         CANCELLING -----+----> CANCELED
    + *            |         |                         |
    + *            |        +-------------------------+
    + *            |
    + *            |                                   ... -> FAILED
    + *           V
    + *    RECONCILING  -> RUNNING | FINISHED | CANCELED | FAILED
      *
    - *                                               ... -> FAILED
      * }
* + *

It is possible to enter the {@code RECONCILING} state from {@code CREATED} --- End diff -- Thank you for suggestions of the format. :) > Introduce RECONCILING state in ExecutionGraph > --------------------------------------------- > > Key: FLINK-4912 > URL: https://issues.apache.org/jira/browse/FLINK-4912 > Project: Flink > Issue Type: Sub-task > Components: Distributed Coordination > Reporter: Stephan Ewen > Assignee: Zhijiang Wang > > This is part of the non-disruptive JobManager failure recovery. > I suggest to add a JobStatus and ExecutionState {{RECONCILING}}. > If a job is started on a that JobManager for master recovery (tbd how to determine that) the {{ExecutionGraph}} and the {{Execution}}s start in the reconciling state. > From {{RECONCILING}}, tasks can go to {{RUNNING}} (execution reconciled with TaskManager) or to {{FAILED}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)