flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Metzger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-6665) Pass a ScheduledExecutorService to the RestartStrategy
Date Wed, 31 May 2017 12:38:09 GMT

     [ https://issues.apache.org/jira/browse/FLINK-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Metzger updated FLINK-6665:
----------------------------------
    Fix Version/s:     (was: 1.3.0)
                   1.4.0

> Pass a ScheduledExecutorService to the RestartStrategy
> ------------------------------------------------------
>
>                 Key: FLINK-6665
>                 URL: https://issues.apache.org/jira/browse/FLINK-6665
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination
>            Reporter: Stephan Ewen
>             Fix For: 1.4.0
>
>
> Currently, the {{RestartStrategy}} is called when the {{ExecutionGraph}} should be restarted.
> To facilitate delays before restarting, the strategy simply sleeps, blocking the thread
that runs the ExecutionGraph's recovery method.
> I suggest to pass {{ScheduledExecutorService}}) to the {{RestartStrategy}} and let it
schedule the restart call that way, avoiding any sleeps.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message