Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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.