hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6052) Yarn RM UI % of Queue at application level is wrong
Date Wed, 04 Jan 2017 12:32:58 GMT
Prabhu Joseph created YARN-6052:
-----------------------------------

             Summary: Yarn RM UI % of Queue at application level is wrong
                 Key: YARN-6052
                 URL: https://issues.apache.org/jira/browse/YARN-6052
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 2.7.3
            Reporter: Prabhu Joseph
            Priority: Minor


Test Case:

yarn.scheduler.capacity.root.capacity=100
yarn.scheduler.capacity.root.queues=default,dummy
yarn.scheduler.capacity.root.default.capacity=20
yarn.scheduler.capacity.root.dummy.capacity=80
yarn.scheduler.capacity.root.dummy.child.capacity=50
yarn.scheduler.capacity.root.dummy.child2.capacity=50

Memory Total is 20GB, default queue share is 4GB and dummy queue share is 16GB. Child and
Child1 queue gets 8GB share each.

A map reduce job is submitted  to child2 queue which asks 2 containers of 512 MB. Now cluster
Memory Used is 1GB.

Root queue usage = 100 / (total memory / used memory)  = 100 / (20 / 1) =  5%
Dummy queue usage = 100 / (16 /1) = 6.3%
Dummy.Child2 queue usage = 100 / (8/1) = 12.5%

At application level, % of queue is calculated as 100 / (50% of root queue capacity) = 100
/ (50% of 20GB) = 10.0 instead of 
100 / (50% of dummy queue capacity) = 100 / (50% of 16GB) = 100 / 8 = 12.5

Where 50% is dummy.child2 capacity

Attached RM UI screenshot.




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

---------------------------------------------------------------------
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