You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2016/06/23 15:48:16 UTC
[jira] [Commented] (FLINK-4112) Replace SuppressRestartException
with disabling RestartStrategy
[ https://issues.apache.org/jira/browse/FLINK-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346638#comment-15346638 ]
Chesnay Schepler commented on FLINK-4112:
-----------------------------------------
Does this entail removing the SuppressRestartException class?
> Replace SuppressRestartException with disabling RestartStrategy
> ---------------------------------------------------------------
>
> Key: FLINK-4112
> URL: https://issues.apache.org/jira/browse/FLINK-4112
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Coordination
> Affects Versions: 1.1.0
> Reporter: Till Rohrmann
> Priority: Minor
> Fix For: 1.2.0
>
>
> Currently, Flink uses {{SuppressRestartExceptions}} to suppress job restarts. This mechanism can be used by different components to control the lifecycle of a job. Since the control flow of exceptions can be quite difficult retrace, I propose to replace this mechanism by an explicit {{RestartStrategy}} disable method. So instead of throwing a {{SuppressRestartException}} we should disable the {{RestartStrategy}} to avoid further job restarts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)