[jira] [Created] (FLINK-4112) Replace SuppressRestartException with disabling RestartStrategy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4112) Replace SuppressRestartException with disabling RestartStrategy

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-4112:
------------------------------------

             Summary: 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)