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

Craig Welch commented on YARN-2505:
-----------------------------------

Taking a look at how the CLI et all has evolved ( over the last few days :-) ) 
I think the existing api's are still fine as they are, but I noticed that there 
are now bulk get and put methods for nodeid->nodelablelist operations at a 
cluster level - which match with what  [~ksumit]  was suggesting - so I think 
it makes sense to go ahead and do them now.  Wrt to our earlier discussion of 
whether this should take the form of a single node id + list (per operation) or 
a map of nodeid->list (per operation), given that the apis elsewhere have gone 
with the map of nodeid->list approach I'm doing the same for consistency. 

> 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.7.patch, YARN-2505.8.patch, 
> YARN-2505.9.patch, YARN-2505.9.patch, YARN-2505.patch
>
>




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

Reply via email to