You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/11/03 22:23:35 UTC

[jira] [Commented] (HDFS-7324) haadmin command usage prints incorrect command name

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

Hadoop QA commented on HDFS-7324:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12678980/HDFS-7324.patch
  against trunk revision 67f13b5.

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {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-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.hdfs.server.namenode.ha.TestFailureToReadEdits

                                      The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs:

org.apache.hadoop.fs.TestEnhancedByteBufferAccess

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

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

This message is automatically generated.

> haadmin command usage prints incorrect command name
> ---------------------------------------------------
>
>                 Key: HDFS-7324
>                 URL: https://issues.apache.org/jira/browse/HDFS-7324
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha, tools
>    Affects Versions: 2.5.1
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HDFS-7324.patch
>
>
> Scenario:
> =======
> Try the help command for hadadmin like following..
> Here usage is coming as "DFSHAAdmin -ns", Ideally this not availble which we can check following command.
> [root@linux156 bin]#  *{color:red}./hdfs haadmin{color}* 
> No GC_PROFILE is given. Defaults to medium.
>  *{color:red}Usage: DFSHAAdmin [-ns <nameserviceId>]{color}* 
>     [-transitionToActive <serviceId> [--forceactive]]
>     [-transitionToStandby <serviceId>]
>     [-failover [--forcefence] [--forceactive] <serviceId> <serviceId>]
>     [-getServiceState <serviceId>]
>     [-checkHealth <serviceId>]
>     [-help <command>]
> Generic options supported are
> -conf <configuration file>     specify an application configuration file
> -D <property=value>            use value for given property
> -fs <local|namenode:port>      specify a namenode
> -jt <local|jobtracker:port>    specify a job tracker
> -files <comma separated list of files>    specify comma separated files to be copied to the map reduce cluster
> -libjars <comma separated list of jars>    specify comma separated jar files to include in the classpath.
> -archives <comma separated list of archives>    specify comma separated archives to be unarchived on the compute machines.
> The general command line syntax is
> bin/hadoop command [genericOptions] [commandOptions]
>  *{color:blue}[root@linux156 bin]# ./hdfs DFSHAAdmin -ns 100{color}*  
> Error: Could not find or load main class DFSHAAdmin



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