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

Zhu Zhu updated FLINK-14233:
----------------------------
    Description: 
{{SchedulingStrategy}} requires task states to make scheduling decisions.
According to {{SchedulingStrategy#onExecutionStateChange}} definition, all task 
state changes should be notified to {{SchedulingStrategy}}, including those 
from TMs and from within JM.
This can be helpful for a more flexible scheduling.

In the worst case that some states are not supposed to be notified for certain 
concerns, we should document it in the interface.

  was:
{{SchedulingStrategy}} requires task states to make scheduling decisions.
According to {{SchedulingStrategy#onExecutionStateChange}} definition, all task 
state changes should be notified to {{SchedulingStrategy}}, including those 
from TMs and from within JM.
This can be helpful for a more flexible scheduling.

In the worst case, if some states are not supposed to be notified for some 
concerns, we should document it for that interface.


> All task state changes should be notified to SchedulingStrategy (SchedulerNG)
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-14233
>                 URL: https://issues.apache.org/jira/browse/FLINK-14233
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>    Affects Versions: 1.10.0
>            Reporter: Zhu Zhu
>            Priority: Major
>             Fix For: 1.10.0
>
>
> {{SchedulingStrategy}} requires task states to make scheduling decisions.
> According to {{SchedulingStrategy#onExecutionStateChange}} definition, all 
> task state changes should be notified to {{SchedulingStrategy}}, including 
> those from TMs and from within JM.
> This can be helpful for a more flexible scheduling.
> In the worst case that some states are not supposed to be notified for 
> certain concerns, we should document it in the interface.



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

Reply via email to