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

Reduce lock contention in FairScheduler#getAppWeight()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.0.0, 3.1.0
    • Component/s: fairscheduler
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In profiling the fair scheduler, a large amount of time is spent waiting to get the lock in FairScheduler.getAppWeight(), when the lock isn't actually needed. This patch reduces the scope of the lock to eliminate that contention.

        Attachments

        1. YARN-7397.branch-3.0.001.patch
          1 kB
          Daniel Templeton
        2. YARN-7397.001.patch
          1 kB
          Daniel Templeton

          Activity

            People

            • Assignee:
              templedf Daniel Templeton
              Reporter:
              templedf Daniel Templeton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: