flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6665) Pass a ScheduledExecutorService to the RestartStrategy
Date Sun, 23 Jul 2017 14:26:02 GMT

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

ASF GitHub Bot commented on FLINK-6665:

Github user StephanEwen commented on the issue:

    Thank you for the contribution!
    The code form this PR has been improved and merged in this commit: 65400bd0a0f6a3bdd3e0bad05e2179534eaf6e9e
    If you agree, could you close this PR?

> 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
>            Assignee: Fang Yong
>             Fix For: 1.4.0, 1.3.2
> 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

View raw message