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-2066) Make delay between execution retries configurable
Date Wed, 07 Oct 2015 04:08:27 GMT

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

ASF GitHub Bot commented on FLINK-2066:
---------------------------------------

Github user WangCHX commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1223#discussion_r41349716
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/ExecutionEnvironment.java
---
    @@ -199,6 +199,31 @@ public int getNumberOfExecutionRetries() {
     	}
     	
     	/**
    +	 * Sets the delay that failed tasks are re-executed. A value of
    +	 * zero effectively disables fault tolerance. A value of {@code -1}
    +	 * indicates that the system default value (as defined in the configuration)
    +	 * should be used.
    +	 *
    +	 * @param executionRetryDelay
    +	 * 		The delay of time the system will wait to re-execute failed
    +	 * 		tasks.
    +	 */
    +	public void setExecutionRetryDelay(long executionRetryDelay){
    --- End diff --
    
    fixed.


> Make delay between execution retries configurable
> -------------------------------------------------
>
>                 Key: FLINK-2066
>                 URL: https://issues.apache.org/jira/browse/FLINK-2066
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.9, 0.10
>            Reporter: Stephan Ewen
>            Assignee: Nuno Miguel Marques dos Santos
>            Priority: Blocker
>              Labels: starter
>             Fix For: 0.10
>
>
> Flink allows to specify a delay between execution retries. This helps to let some external
failure causes fully manifest themselves before the restart is attempted.
> The delay is currently defined only system wide.
> We should add it to the {{ExecutionConfig}} of a job to allow per-job specification.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message