Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-386 [Umbrella] YARN API Changes
  3. YARN-549

YarnClient.submitApplication should wait for application to be accepted by the RM

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • None
    • None

    Description

      Currently, when submitting an application, storeApplication will be called for recovery. However, it is a blocking API, and is likely to block concurrent application submissions. Therefore, it is good to make application submission asynchronous, and postpone storeApplication. YarnClient needs to change to wait for the whole operation to complete so that clients can be notified after the application is really submitted. YarnClient needs to wait for application to reach SUBMITTED state or beyond.

      Attachments

        1. YARN-549.4.patch
          11 kB
          Zhijie Shen
        2. YARN-549.3.patch
          10 kB
          Zhijie Shen
        3. YARN-549.2.patch
          52 kB
          Zhijie Shen
        4. YARN-549.1.patch
          37 kB
          Zhijie Shen
        5. Proposal of Asynchronous Application Submission_v1.pdf
          61 kB
          Zhijie Shen

        Issue Links

          Activity

            People

              zjshen Zhijie Shen
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: