[
https://issues.apache.org/jira/browse/YARN-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223624#comment-16223624
]
Daniel Templeton commented on YARN-7397:
----------------------------------------
It's not exactly straightforward to untangle that because of
{{sizeBasedWeight}}. I'll file another JIRA for it.
> 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
> Attachments: YARN-7397.001.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]