[
https://issues.apache.org/jira/browse/FLINK-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061794#comment-15061794
]
ASF GitHub Bot commented on FLINK-3050:
---------------------------------------
Github user uce commented on the pull request:
https://github.com/apache/flink/pull/1461#issuecomment-165398018
Thanks for the review. With task slots we have to be careful though,
because it is possible that slots become available after some time.
> Add custom Exception type to suppress job restarts
> --------------------------------------------------
>
> Key: FLINK-3050
> URL: https://issues.apache.org/jira/browse/FLINK-3050
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Runtime
> Affects Versions: 0.10.0
> Reporter: Ufuk Celebi
> Assignee: Ufuk Celebi
> Priority: Minor
> Fix For: 1.0.0
>
>
> In case of failures and configured execution retries, the job will be be
> restarted even in cases when the failure is not recoverable.
> We can add a custom Exception type like UnrecoverableFailure in order to
> suppress restarts in certain cases. The execution graph restart logic can
> check the failure type on recovery and skip the restarting.
> This Exception can be used both by the system and the user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)