[
https://issues.apache.org/jira/browse/FLINK-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614985#comment-15614985
]
ASF GitHub Bot commented on FLINK-4932:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/2711
[backport] [FLINK-4932] [exec graph] Failing in state RESTARTING only fails
the EG if no more restarts are possible
This PR is a backport of #2710 for the release-1.1 branch.
If in state RESTARTING a failure occurs (`ExecutionGraph.fail` is called),
then a new restart attempt is started. Only if the restart strategy no longer
allows further restarts or if the thrown exception is of type
SuppressRestartsException a job can go from RESTARTING into FAILED.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink backportFixRestartingState
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2711.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2711
----
commit 920dbe6ac5969c63d9725f0999c3cd1adfa70fad
Author: Till Rohrmann <[email protected]>
Date: 2016-10-27T16:32:08Z
[FLINK-4932] [exec graph] Failing in state RESTARTING only fails the EG if
no more restarts are possible
If in state RESTARTING a failure occurs, then a new restart attempt is
started. Only if the
restart strategy no longer allows further restarts or if the thrown
exception is of type
SuppressRestartsException a job can go from RESTARTING into FAILED.
----
> Don't let ExecutionGraph fail when in state Restarting
> ------------------------------------------------------
>
> Key: FLINK-4932
> URL: https://issues.apache.org/jira/browse/FLINK-4932
> Project: Flink
> Issue Type: Bug
> Components: Distributed Coordination
> Affects Versions: 1.2.0, 1.1.4
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Fix For: 1.2.0, 1.1.4
>
>
> When in state {{RESTARTING}} it is possible to fail the {{ExecutionGraph}}.
> This should not be possible, since in state {{RESTARTING}} there should be no
> action performed which can fail the {{ExecutionGraph}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)