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

Jian He commented on YARN-3273:
-------------------------------

[~rohithsharma], many thanks for your work ! some comments on the patch:
- The patch doesn't apply after YARN-1809
- The headroom need not be part of RMAppAttemptMetrics, as it only makes sense 
for running apps. RMAppAttemptMetrics is mostly for keeping track of metrics 
applicable for both running and finished apps. Now that attemptPage is 
introduced, the HeadRoom can be surfaced on attempt page
- CapacitySchedulerLeafQueueInfo#aMResourceLimit - this is not part of your 
patch; would you mind changing the “a” to “A” here. The name is important as 
it’s exposed in rest api
- Regarding the per user info: do you think it’s useful to have a separate 
top-level users link on the front page within which we show a list of users 
info such as totalResourceUsage, amResourceUsage, totalResourceLimit, 
amResourceLimit; 
- regarding getUserResourceLimit -  We have a LeafQueue#computeUserLimit method 
to compute user-limit; we may add a new resourceLimit field in LeafQueue#User 
class and when  LeafQueue#computeUserLimit is called, set the resourceLimit 
into LeafQueue#User#resourceLimit. 

> Improve web UI to facilitate scheduling analysis and debugging
> --------------------------------------------------------------
>
>                 Key: YARN-3273
>                 URL: https://issues.apache.org/jira/browse/YARN-3273
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jian He
>            Assignee: Rohith
>         Attachments: 0001-YARN-3273-v1.patch, 
> YARN-3273-am-resource-used-AND-User-limit.PNG, 
> YARN-3273-application-headroom.PNG
>
>
> Job may be stuck for reasons such as:
> - hitting queue capacity 
> - hitting user-limit, 
> - hitting AM-resource-percentage 
> The  first queueCapacity is already shown on the UI.
> We may surface things like:
> - what is user's current usage and user-limit; 
> - what is the AM resource usage and limit;
> - what is the application's current HeadRoom;
>  



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

Reply via email to