[ 
https://issues.apache.org/jira/browse/YARN-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13920598#comment-13920598
 ] 

Xuan Gong commented on YARN-1761:
---------------------------------

bq. The exit code shouldn't be zero when HA isn't enabled and user invokes a HA 
related command.

change to return -1 

bq. Change the message "The RM HA is disabled. " + cmd + " can only be executed 
when RM HA is enabled" to simply be "Cannot run " + cmd + " when 
ResourceManager HA is not enabled"

DONE

bq. Also don't append HA Usage when RM HA is not enabled.

DONE

> RMAdminCLI should check whether HA is enabled before executes 
> transitionToActive/transitionToStandby
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-1761
>                 URL: https://issues.apache.org/jira/browse/YARN-1761
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-1761.1.patch, YARN-1761.2.patch, YARN-1761.2.patch, 
> YARN-1761.3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to