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

Matthias Pohl resolved FLINK-32859.
-----------------------------------
    Fix Version/s: 1.19.0
       Resolution: Fixed

master (1.19): 4aebc43721873480dfbbaf2cfe784c3833f1cdc9

> Improve the state of adaptive sheduler with StateWithoutExecutionGraph
> ----------------------------------------------------------------------
>
>                 Key: FLINK-32859
>                 URL: https://issues.apache.org/jira/browse/FLINK-32859
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> Currently, most of states of adaptive scheduler extends 
> StateWithExecutionGraph, and it can reduce a lots of repeated code.
> We can define the State{color:red}Without{color}ExecutionGraph and the 
> corresponding Context as well, then the rest of states can extend the 
> State{color:red}Without{color}ExecutionGraph, such as: Created, 
> WaitingForResources, CreatingExecutionGraph.
> This improvement can reduce a lot of code for these states, such as: 
> cancel(), suspend(), getJob(), handleGlobalFailure() and getLogger().
> These methods of Created, WaitingForResources and CreatingExecutionGraph are 
> same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to