[
https://issues.apache.org/jira/browse/YARN-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199673#comment-14199673
]
Craig Welch commented on YARN-2505:
-----------------------------------
More updated api :-):
GET .../cluster/node-labels - returns node labels configured for the cluster
POST .../cluster/add-node-labels - adds the passed list of node labels to the
cluster
POST .../cluster/remove-node-labels - removes the passed list of node labels
from the cluster
GET .../cluster/nodes/nodeid/labels - returns the list of labels for the given
nodeid
POST .../cluster/nodes/nodeid/replace-labels - replaces the nodes labels for
the given node (may be an empty list)
GET .../cluster/node-to-labels - returns Map of NodeIds->Lists of labels for
all nodes in the cluster
POST .../cluster/replace-node-to-labels - for those nodes present in the passed
NodeIds->Lists of labels the labels for the node are replaced by the passed
list value for it's NodeId
> 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.11.patch,
> YARN-2505.12.patch, YARN-2505.13.patch, YARN-2505.14.patch,
> YARN-2505.15.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)