hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1761) RMAdminCLI should check whether HA is enabled before executes transitionToActive/transitionToStandby
Date Wed, 05 Mar 2014 07:17:44 GMT

    [ 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)

Mime
View raw message