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

Hudson commented on HDFS-7324:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #733 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/733/])
HDFS-7324. haadmin command usage prints incorrect command name. Contributed by 
Brahma Reddy Battula. (sureshms: rev 237890feabc809ade4e7542039634e04219d0bcb)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSHAAdmin.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> 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
>             Fix For: 2.7.0
>
>         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)

Reply via email to