flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4112) Replace SuppressRestartException with disabling RestartStrategy
Date Mon, 22 May 2017 18:24:04 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019956#comment-16019956
] 

Stephan Ewen commented on FLINK-4112:
-------------------------------------

Is this still relevant? Just asking, because the Exception is now used by certain tests as
well...

> 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
>
> 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.15#6346)

Mime
View raw message