hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xianyin Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2176) CapacityScheduler loops over all running applications rather than actively requesting apps
Date Wed, 29 Apr 2015 06:01:07 GMT

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

Xianyin Xin commented on YARN-2176:
-----------------------------------

Sorry [~jlowe], i've made a mistake. What i thought was Fair, where we resort all the apps
when we make scheduling. When the number of the running apps is thousands, the time consume
for resorting is hundreds of milliseconds. You're right that the overhead in CS is low.

> CapacityScheduler loops over all running applications rather than actively requesting
apps
> ------------------------------------------------------------------------------------------
>
>                 Key: YARN-2176
>                 URL: https://issues.apache.org/jira/browse/YARN-2176
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacityscheduler
>    Affects Versions: 2.4.0
>            Reporter: Jason Lowe
>
> The capacity scheduler performance is primarily dominated by LeafQueue.assignContainers,
and that currently loops over all applications that are running in the queue.  It would be
more efficient if we looped over just the applications that are actively asking for resources
rather than all applications, as there could be thousands of applications running but only
a few hundred that are currently asking for resources.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message