Description
I setup a single node cluster, then trying to add node-attributes with CLI,
first I tried:
./bin/yarn nodeattributes -add localhost:hostname(STRING)=localhost
this command returns exit code 0, however the node-attribute was not added.
Then I tried to replace "localhost" with the host ID, and it worked.
We need to ensure the command fails with proper error message when adding was not succeed.
Similarly, when I remove a node-attribute that doesn't exist, I still get return code 0.