[
https://issues.apache.org/jira/browse/FLINK-11471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756836#comment-16756836
]
Zhu Zhu commented on FLINK-11471:
---------------------------------
I see. So in the future, a Job is "RUNNING" when and only when at least one
task is "RUNNING". Looks good.
Will there be a new JobStatus marking that the job is trying to scheduling
tasksĀ butĀ no task is RUNNING yet?
> 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
> Assignee: vinoyang
> 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)