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

Hadoop QA commented on YARN-2807:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12690300/YARN-2807.2.patch
  against trunk revision 788ee35.

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-common:

                  org.apache.hadoop.security.ssl.TestReloadingX509TrustManager

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/6265//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/6265//console

This message is automatically generated.

> Option "--forceactive" not works as described in usage of "yarn rmadmin 
> -transitionToActive"
> --------------------------------------------------------------------------------------------
>
>                 Key: YARN-2807
>                 URL: https://issues.apache.org/jira/browse/YARN-2807
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: documentation, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: YARN-2807.1.patch, YARN-2807.2.patch
>
>
> Currently the help message of "yarn rmadmin -transitionToActive" is:
> {code}
> transitionToActive: incorrect number of arguments
> Usage: HAAdmin [-transitionToActive <serviceId> [--forceactive]]
> {code}
> But the --forceactive not works as expected. When transition RM state with 
> --forceactive:
> {code}
> yarn rmadmin -transitionToActive rm2 --forceactive
> Automatic failover is enabled for 
> org.apache.hadoop.yarn.client.RMHAServiceTarget@64c9f31e
> Refusing to manually manage HA state, since it may cause
> a split-brain scenario or other incorrect state.
> If you are very sure you know what you are doing, please
> specify the forcemanual flag.
> {code}
> As shown above, we still cannot transitionToActive when automatic failover is 
> enabled with --forceactive.
> The option can work is: {{--forcemanual}}, there's no place in usage 
> describes this option. I think we should fix this



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to