Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-357

App submission should not be synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.3, 2.0.0-alpha, 3.0.0-alpha1
    • 2.0.3-alpha, 0.23.7
    • resourcemanager
    • None

    Description

      MAPREDUCE-2953 fixed a race condition with querying of app status by making RMClientService#submitApplication synchronously invoke RMAppManager#submitApplication. However, the synchronized keyword was also added to RMAppManager#submitApplication with the comment:

      I made the submitApplication synchronized to keep it consistent with the other routines in RMAppManager although I do not believe it needs it since the rmapp datastructure is already a concurrentMap and I don't see anything else that would be an issue.

      It's been observed that app submission latency is being unnecessarily impacted.

      Attachments

        1. YARN-357.branch-23.patch
          8 kB
          Daryn Sharp
        2. YARN-357.txt
          8 kB
          Siddharth Seth
        3. YARN-357.patch
          8 kB
          Daryn Sharp
        4. YARN-357.patch
          0.9 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: