Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24824

AdaptiveScheduler#getJobStatus never returns CREATED

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: