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

Sumit Kumar commented on YARN-2505:
-----------------------------------

bq. I would think that should be a post with a (list of) label(s) and a list of 
node ids.
I think it would be enough to provide support for applying a label on a list of 
node ids. From use case perspective, such a labeling should mean categorizing 
certain nodes in a group. May be i do not see much usecase for putting multiple 
nodes in multiple groups at the same time. If at all such a complicated case 
arises, users should make multiple calls with single label and a list of nodes 
each time.

bq. I don't think there's a compelling purpose at the moment for a "node label 
type", it's a string/textual label and I think it is sensible to just model it 
as such.
I agree with you. Given that we already have support for _applicationTags_, 
there is no immediate need for _type_ for a label. Though at some point of time 
we should merge _applicationTags_ and _label_ features into one. What do you 
think?

> Support get/add/remove/change labels in RM REST API
> ---------------------------------------------------
>
>                 Key: YARN-2505
>                 URL: https://issues.apache.org/jira/browse/YARN-2505
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Craig Welch
>         Attachments: YARN-2505.1.patch, YARN-2505.3.patch, YARN-2505.4.patch, 
> YARN-2505.5.patch, YARN-2505.6.patch, YARN-2505.patch
>
>




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

Reply via email to