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

App submission should not be synchronized

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.0.3-alpha, 0.23.7
    • Component/s: resourcemanager
    • Labels:
      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.patch
          8 kB
          Daryn Sharp
        3. YARN-357.patch
          0.9 kB
          Daryn Sharp
        4. YARN-357.txt
          8 kB
          Siddharth Seth

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: