You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2016/01/29 03:14:39 UTC
[jira] [Commented] (YARN-4654) Yarn node label CLI should parse "="
correctly when trying to remove all labels on a node
[ https://issues.apache.org/jira/browse/YARN-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122772#comment-15122772 ]
Naganarasimha G R commented on YARN-4654:
-----------------------------------------
Hi [~wangda],
I took up this jira, hope you have not already started working on this ! If so please feel free to reassign.
> Yarn node label CLI should parse "=" correctly when trying to remove all labels on a node
> -----------------------------------------------------------------------------------------
>
> Key: YARN-4654
> URL: https://issues.apache.org/jira/browse/YARN-4654
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Wangda Tan
> Assignee: Naganarasimha G R
>
> Currently, when adding labels to nodes, user can run:
> {{yarn rmadmin -replaceLabelsOnNode "host1=x host2=y"}}
> However, when removing labels from a node, user has to run:
> {{yarn rmadmin -replaceLabelsOnNode "host1 host2"}}
> Instead of:
> {{yarn rmadmin -replaceLabelsOnNode "host1= host2="}}
> We should handle both of "=" exists/not-exists case when removing labels on a node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)