You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/10/25 23:43:00 UTC

[jira] [Created] (YARN-7397) Reduce lock contention in FairScheduler#getAppWeight()

Daniel Templeton created YARN-7397:
--------------------------------------

             Summary: Reduce lock contention in FairScheduler#getAppWeight()
                 Key: YARN-7397
                 URL: https://issues.apache.org/jira/browse/YARN-7397
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 3.0.0-beta1
            Reporter: Daniel Templeton
            Assignee: Daniel Templeton


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org