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

Make job submission non-blocking

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Hide
      The semantics of submitting a job have slightly changed. The submission call returns almost immediately, with the job being in a new INITIALIZING state. Operations such as triggering a savepoint or retrieving the full job details are not available while the job is in that state.
      Once the JobManager for that job has been created, the job is in CREATED state and all calls are available.
      Show
      The semantics of submitting a job have slightly changed. The submission call returns almost immediately, with the job being in a new INITIALIZING state. Operations such as triggering a savepoint or retrieving the full job details are not available while the job is in that state. Once the JobManager for that job has been created, the job is in CREATED state and all calls are available.

    Description

      Currently, Flink waits to acknowledge a job submission until the corresponding JobManager has been created. Since its creation also involves the creation of the ExecutionGraph and potential FS operations, it can take a bit of time. If the user has configured a too low web.timeout, the submission can time out only reporting a TimeoutException to the user.

      I propose to change the notion of job submission slightly. Instead of waiting until the JobManager has been created, a job submission is complete once all job relevant files have been uploaded to the Dispatcher and the Dispatcher has been told about it. Creating the JobManager will then belong to the actual job execution. Consequently, if problems occur while creating the JobManager it will result into a job failure.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rmetzger Robert Metzger
            trohrmann Till Rohrmann
            Votes:
            2 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment