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

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

[~vvasudev], thanks for working on this patch. This will be very useful!

Some suggestions to the patch:
- Instead of computing % in the web service component, it's better to compute % 
in the scheduler module, which we can consider resource calculator, etc. Now we 
have a place to do this, see 
{{org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt.getResourceUsageReport()}}.
 After ApplicationResourceUsageReport is created, you can set % values to 
{{org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppInfo}}.
- And AppAttempt page can get AppInfo as well, may need to modify some 
interfaces.

> 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
>         Attachments: YARN-4285.001.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