Naganarasimha G R commented on YARN-5256:

[~sunilg], I was initially thinking of improving of {{get-node-labels}} itself 
as it was just to add the resource info in {{NodeLabelInfo}} as 
??get-node-labels?? is returning list of NodeLabelInfos. But as you had started 
with this jira thought of requesting modifications for it. Our purpose is to 
get all Labels resources through REST.

bq. Do you see use case to get this stats info for few labels together in 
single request.
As mentioned in earlier comment what we require is for all partitions get the 
resources available, through REST. 

So would it be ok to raise and work on another jira to modify 
{{get-node-labels}} to return NodeLabelsInfo (List<NodeLabelInfo>), 
NodeLabelInfo containing node resource info and you modify here in the suitable 
way as required for web ui ?

> [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

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