Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
None of the AdaptiveScheduler states return JobStatus#CREATED when requestJobStatus() is called. This violates the job state machine, and makes it a bit difficult to setup job state timestamps in the AdaptiveScheduler (FLINK-24775).
We are in the INITIALIZING state from Created -> WaitingForResources -> CreatingExecutionGraph, and then switch straight to RUNNING in Executing.
It is tricky to retain the same semantics for the Default and AdaptiveScheduler, but I think it would be fine to return CREATED once we reached WaitingForResources because from the users-perspective it behaves similarly.
Attachments
Issue Links
- relates to
-
FLINK-21513 Rethink up-/down-/restartingTime metrics
- Open
- links to