flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4912) Introduce RECONCILING state in ExecutionGraph
Date Fri, 13 Jan 2017 10:55:26 GMT

    [ 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 @@
      * <pre>{@code
      *
      *     CREATED  -> SCHEDULED -> DEPLOYING -> RUNNING -> FINISHED
    - *                     |            |          |
    - *                     |            |   +------+
    - *                     |            V   V
    - *                     |         CANCELLING -----+----> CANCELED
    - *                     |                         |
    - *                     +-------------------------+
    + *            |         |            |          |
    + *            |         |            |   +------+
    + *            |         |            V   V
    + *            |         |         CANCELLING -----+----> CANCELED
    + *            |         |                         |
    + *            |        +-------------------------+
    + *            |
    + *            |                                   ... -> FAILED
    + *           V
    + *    RECONCILING  -> RUNNING | FINISHED | CANCELED | FAILED
      *
    - *                                               ... -> FAILED
      * }</pre>
      *
    + * <p>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)

Mime
View raw message