hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7397) Reduce lock contention in FairScheduler#getAppWeight()
Date Sat, 28 Oct 2017 16:33:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223635#comment-16223635
] 

Hudson commented on YARN-7397:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13156 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13156/])
YARN-7397. Reduce lock contention in FairScheduler#getAppWeight() (templedf: rev e62bbbca7adafa0e050212e99c41c95a844700ff)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java


> 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.1.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>             Fix For: 3.1.0
>
>         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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message