hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8552) Fix hdfs CLI usage message for namenode and zkfc
Date Tue, 09 Jun 2015 05:40:01 GMT

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

Hudson commented on HDFS-8552:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #7995 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7995/])
HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by Brahma Reddy Battula
(xyao: rev 927577c87ca19e8b5b75722f78e2def6d9386576)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java


> Fix hdfs CLI usage message for namenode and zkfc
> ------------------------------------------------
>
>                 Key: HDFS-8552
>                 URL: https://issues.apache.org/jira/browse/HDFS-8552
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Xiaoyu Yao
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8552-002.patch, HDFS-8552.patch
>
>
> The usage message from code does not match with the one documented. 
> 1. "java NameNode" should be "hdfs namenode"
> -2. Many of options are not documented.-
> Usage message from code:
> {code}
>   private static final String USAGE = "Usage: java NameNode ["
>       + StartupOption.BACKUP.getName() + "] | \n\t["
>       + StartupOption.CHECKPOINT.getName() + "] | \n\t["
>       + StartupOption.FORMAT.getName() + " ["
>       + StartupOption.CLUSTERID.getName() + " cid ] ["
>       + StartupOption.FORCE.getName() + "] ["
>       + StartupOption.NONINTERACTIVE.getName() + "] ] | \n\t["
>       + StartupOption.UPGRADE.getName() + 
>         " [" + StartupOption.CLUSTERID.getName() + " cid]" +
>         " [" + StartupOption.RENAMERESERVED.getName() + "<k-v pairs>] ] | \n\t["
>       + StartupOption.UPGRADEONLY.getName() + 
>         " [" + StartupOption.CLUSTERID.getName() + " cid]" +
>         " [" + StartupOption.RENAMERESERVED.getName() + "<k-v pairs>] ] | \n\t["
>       + StartupOption.ROLLBACK.getName() + "] | \n\t["
>       + StartupOption.ROLLINGUPGRADE.getName() + " "
>       + RollingUpgradeStartupOption.getAllOptionString() + " ] | \n\t["
>       + StartupOption.IMPORT.getName() + "] | \n\t["
>       + StartupOption.INITIALIZESHAREDEDITS.getName() + "] | \n\t["
>       + StartupOption.BOOTSTRAPSTANDBY.getName() + "] | \n\t["
>       + StartupOption.RECOVER.getName() + " [ "
>       + StartupOption.FORCE.getName() + "] ] | \n\t["
>       + StartupOption.METADATAVERSION.getName() + " ] "
>       + " ]";
> {code}
> Usage from document:
> hdfs namenode [-backup] |
>           [-checkpoint] |
>           [-format [-clusterid cid ] [-force] [-nonInteractive] ] |
>           [-upgrade [-clusterid cid] [-renameReserved<k-v pairs>] ] |
>           [-upgradeOnly [-clusterid cid] [-renameReserved<k-v pairs>] ] |
>           [-rollback] |
>           [-rollingUpgrade <downgrade |rollback> ] |
>           [-finalize] |
>           [-importCheckpoint] |
>           [-initializeSharedEdits] |
>           [-bootstrapStandby] |
>           [-recover [-force] ] |
>           [-metadataVersion ]



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

Mime
View raw message