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 "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/11/08 07:59:00 UTC

[jira] [Updated] (YARN-8987) Usability improvements for adding centralised node-attributes from CLI

     [ https://issues.apache.org/jira/browse/YARN-8987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weiwei Yang updated YARN-8987:
------------------------------
    Description: 
I setup a single node cluster, then trying to add node-attributes with CLI,

first I tried:
{code:java}
./bin/yarn nodeattributes -add localhost:hostname(STRING)=localhost
{code}
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.

  was:
I setup a single node cluster, then trying to add node-attributes with CLI,

first I tried:

{code}

./bin/yarn nodeattributes -add localhost:hostname(STRING)=localhost

{code}

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.


> Usability improvements for adding centralised node-attributes from CLI
> ----------------------------------------------------------------------
>
>                 Key: YARN-8987
>                 URL: https://issues.apache.org/jira/browse/YARN-8987
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Weiwei Yang
>            Priority: Major
>
> I setup a single node cluster, then trying to add node-attributes with CLI,
> first I tried:
> {code:java}
> ./bin/yarn nodeattributes -add localhost:hostname(STRING)=localhost
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org