[ https://issues.apache.org/jira/browse/YARN-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953834#comment-14953834 ]
Naganarasimha G R commented on YARN-4162: ----------------------------------------- hi [~wangda], Thanks for the review. bq. _DEFAULT_PARTITION is not a valid label name, so it won't conflict with any user added label 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? bq. Could you update ResourceUsageInfo to make only user and leaf-queue have am-used-resource? Since parent queue / application don't set this field, it is 0 for now, which could be confusing to users. So *am-used-resource* will be set to null for parent queue / application, So that in REST output it will not be available ? bq. I think application should support to return resource usage info as well, could be done in a separated JIRA. Ok > 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 (v6.3.4#6332)