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

Zhu Zhu resolved FLINK-16180.
-----------------------------
    Resolution: Fixed

fixed via: 9a3eb5b03b84f14c004a41681a26ed513d00ed00

> Replacing vertexExecution in ScheduledUnit with executionVertexID
> -----------------------------------------------------------------
>
>                 Key: FLINK-16180
>                 URL: https://issues.apache.org/jira/browse/FLINK-16180
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>    Affects Versions: 1.11.0
>            Reporter: Zhu Zhu
>            Assignee: Zhu Zhu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{ScheduledUnit#vertexExecution}} is nullable but {{ProgrammedSlotProvider}} 
> requires it to be non-null to work. This makes {{ProgrammedSlotProvider}} not 
> able to be used by new scheduler tests since {{vertexExecution}} is never set 
> in the new scheduler code path. It blocks us from reworking tests which are 
> based legacy scheduling to base on the new scheduler.
> Besides that, there are 2 other problems caused by the nullable 
> vertexExecution:
> 1. The log printed in SchedulerImpl#allocateSlotInternal(...) may contain no 
> useful info since the vertexExecution can be null.
> 2. NPE issue reported in FLINK-16145.
> Thus I would propose to replace the nullable vertexExecution with a non-null 
> executionVertexID.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to