Sunil G commented on YARN-5256:

I think if its for all partitions or for a single label, this new api can help 
in getting all (provided changing get-node-labels is not planned). I personally 
feel we can have only required REST end points and each serve the critical 
information needed for user.
I dont see any problem in having list for all but I thought making a point to 
check whether reusing NodeLabelInfo was considered or not.

This jira was trying to gather as many information as possible for a label. So 
such a detailed info class can be used in general too and you have mentioned 
that there are use cases for all list. I think i can update this ticket handle 
it if its fine.

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