Wangda Tan commented on YARN-3362:

Hi Naga,
Thanks for taking initiative for this, just tried to run the patch locally, 
looks great! Some comments:

1) Show partition=partition-name in every partition, if the partition is the 
NO_LABEL partition, show it's a YARN.DEFAULT.PARTITION.
2) I think it's better to show labels are not accessible, especially for the 
non-exclusive node label case, we can optimize this in future patch. To avoid 
people ask question like "where is my label"? This includes all existing "avoid 
displaying" items in your existing patch. But it's good to keep avoid showing 
"label" when there's no label in your cluster.
3) Showing partition of partition-specific queue metrics, they're:
- Used Capacity:        0.0%
- Absolute Used Capacity:       0.0%
- Absolute Capacity:    50.0%
- Absolute Max Capacity:        100.0%
- Configured Capacity:  50.0%
- Configured Max Capacity:      100.0%
I suggest to add a (Partition=xxx) at the end of these metrics.

I attached queue hierarchy showing in my local cluster: 
 It seems multi hierarchy works well in my environment.

> Add node label usage in RM CapacityScheduler web UI
> ---------------------------------------------------
>                 Key: YARN-3362
>                 URL: https://issues.apache.org/jira/browse/YARN-3362
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, resourcemanager, webapp
>            Reporter: Wangda Tan
>            Assignee: Naganarasimha G R
>         Attachments: CSWithLabelsView.png, Screen Shot 2015-04-29 at 11.42.17 
> AM.png, YARN-3362.20150428-3.patch
> We don't have node label usage in RM CapacityScheduler web UI now, without 
> this, user will be hard to understand what happened to nodes have labels 
> assign to it.

This message was sent by Atlassian JIRA

Reply via email to