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

Sunil G commented on YARN-5256:
-------------------------------

Hi [~ajithshetty] and [~Naganarasimha Garla]

We can make to trunk. I think thats fine..

bq.2. When labels are null, can we return all the labels details.?
We already have {{@Path("/get-node-labels")}}. But with out resource/node info. 
Are we looking a case to improve {{get-node-labels}} to have information like 
resource/nodes. Its better we make use of existing api to get more information. 
Thoughts? We can do here also, but it may become slightly duplicated i guess.

bq.3. Instead of one label, can we accept set of labels.?
For all labels, we can get the information based on consensus from previous 
comment. Do you see use case to get this stats info for few labels together in 
single request. To do this, we need to change response to a Map<LabelName, 
LabelInfo>. From UI perspective, we wanted to get info per-label stats to show 
detailed node-label page. and All labels info was retrieved by 
{{get-node-labels}}. It will be great if you could share usecase also.


> [YARN-3368] Add REST endpoint to support detailed NodeLabel Informations
> ------------------------------------------------------------------------
>
>                 Key: YARN-5256
>                 URL: https://issues.apache.org/jira/browse/YARN-5256
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: webapp
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: YARN-5256-YARN-3368.1.patch, YARN-5256-YARN-3368.2.patch
>
>
> Add a new REST endpoint to fetch few more detailed information about node 
> labels such as resource, list of nodes etc.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to