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

    https://github.com/apache/flink/pull/2837#discussion_r88879086
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionVertex.java
 ---
    @@ -125,7 +142,7 @@ public ExecutionVertex(
     
                this.inputEdges = new 
ExecutionEdge[jobVertex.getJobVertex().getInputs().size()][];
     
    -           this.priorExecutions = new CopyOnWriteArrayList<Execution>();
    +           this.priorExecutions = new 
EvictingBoundedList<>(maxPriorExecutionHistoryLength);
    --- End diff --
    
    we should either have a proper default value here or modify the 
SubtaskExecutionAttempt*Handler classes to be able to deal with cases where the 
`ExecutionVertex#getPriorExecutionAttempt()` returns null.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to