[ 
https://issues.apache.org/jira/browse/FLINK-11471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757022#comment-16757022
 ] 

vinoyang commented on FLINK-11471:
----------------------------------

[~Zentol] What do you think about the solution to this problem? Do you agree 
that JobStatus should be based on at least one Task reporting RUNNING? Or do 
you support introducing an intermediate state between JobStatus#CREATED and 
JobStatus#RUNNING?

> Job is reported RUNNING prematurely for queued scheduling
> ---------------------------------------------------------
>
>                 Key: FLINK-11471
>                 URL: https://issues.apache.org/jira/browse/FLINK-11471
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Coordination, Scheduler
>    Affects Versions: 1.7.1
>            Reporter: Nico Kruber
>            Priority: Major
>
> With queued scheduling enabled (seems to be the default now), the job's 
> status is changed to RUNNING before all tasks are actually running.
> Although {{JobStatus#RUNNING}} states
> {quote}Some tasks are scheduled or running, some may be pending, some may be 
> finished.{quote}
> you may argue whether this is the right thing to report, e.g. in the REST 
> interface, when a user wants to react on the actual state change from 
> SCHEDULED to RUNNING. It seems, some intermediate state is missing here which 
> would clarify things.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to