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

Wangda Tan commented on YARN-4285:
----------------------------------

[~jianhe],
bq. However, the queue's used resource in the UI does include reserved resource 
too.
IIUC, it should queue's used resource should include reserved resources 

[~vvasudev],
bq. it makes sense to remove reserved resources from the used resources,
Actually I think we should include reserved resources by used resources, unless 
we can show them together on UI. See my [#2 
comment|https://issues.apache.org/jira/browse/YARN-4678?focusedCommentId=15209365&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15209365].

bq. ...but do we know why we counted reserved resources as part of used 
resources in the first place?
The reason is, if we create a reserved container under a queue, we need to make 
sure it doesn't go beyond queue's max capacity. In another word, if resource is 
reserved by someone, nobody else can use that part of resources.
>From YARN's perspective, a queue has 99G allocated (not reserved) + 1G 
>reserved is as same as 1G allocated + 99G reserved. To be more transparent to 
>users and avoid answer questions like: "why my total allocated resource is 
>always less than total resources, used resource should be allocated + reserved.

> Display resource usage as percentage of queue and cluster in the RM UI
> ----------------------------------------------------------------------
>
>                 Key: YARN-4285
>                 URL: https://issues.apache.org/jira/browse/YARN-4285
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>             Fix For: 2.8.0
>
>         Attachments: YARN-4285.001.patch, YARN-4285.002.patch, 
> YARN-4285.003.patch, YARN-4285.004.patch
>
>
> Currently, we display the memory and vcores allocated to an app in the RM UI. 
> It would be useful to display the resources consumed as a %of the queue and 
> the cluster to identify apps that are using a lot of resources.



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

Reply via email to