Wangda Tan commented on YARN-4162:

bq. I was thinking in similar lines earlier like using square/flower brackets 
[DEFAULT_PARTITION] or {DEFAULT_PARTITION} but what if user creates a label 
with DEFAULT_PARTITION, would it not be confusing to the User ? if its ok then 
IMHO it would better to go with square/flowe brackets than to start of with 
"_", as its displayed in UI and would not be appealing. Thoughts?
I'm not sure if \{..\} or \[..\] is valid json/xml Key, another choice is to 
keep REST API returns "", and web UI will replace "" by a more meaningful label.

> Scheduler info in REST, is currently not displaying partition specific queue 
> information similar to UI
> ------------------------------------------------------------------------------------------------------
>                 Key: YARN-4162
>                 URL: https://issues.apache.org/jira/browse/YARN-4162
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
>         Attachments: YARN-4162.v1.001.patch, YARN-4162.v2.001.patch, 
> YARN-4162.v2.002.patch, YARN-4162.v2.003.patch, YARN-4162.v2.004.patch, 
> restAndJsonOutput.zip
> When Node Labels are enabled then REST Scheduler Information should also 
> provide partition specific queue information similar to the existing Web UI

This message was sent by Atlassian JIRA

Reply via email to