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

Reduce lock contention in FairScheduler#getAppWeight()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.0.0, 3.1.0
    • fairscheduler
    • None
    • 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.001.patch
          1 kB
          Daniel Templeton
        2. YARN-7397.branch-3.0.001.patch
          1 kB
          Daniel Templeton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: