[
https://issues.apache.org/jira/browse/FLINK-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147482#comment-15147482
]
ASF GitHub Bot commented on FLINK-3327:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/1583#discussion_r52911077
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobGraph.java ---
@@ -215,7 +218,12 @@ public void setNumberOfExecutionRetries(int
numberOfExecutionRetries) {
* @return The number of times the system will try to re-execute failed
tasks.
*/
public int getNumberOfExecutionRetries() {
- return numExecutionRetries;
+ int retries = executionConfig.getNumberOfExecutionRetries();
+ if (retries < -1) {
--- End diff --
this check shouldn't be necessary, since setNumberOfExecutionRetries
already checks for it.
> Attach the ExecutionConfig to the JobGraph and make it accessible to the
> AbstractInvocable.
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-3327
> URL: https://issues.apache.org/jira/browse/FLINK-3327
> Project: Flink
> Issue Type: Sub-task
> Components: TaskManager
> Reporter: Klou
> Assignee: Klou
> Fix For: 1.0.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)