You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/08/07 07:02:11 UTC

[jira] [Created] (HDFS-6832) Fix the usage of 'hdfs namenode' command

Akira AJISAKA created HDFS-6832:
-----------------------------------

             Summary: Fix the usage of 'hdfs namenode' command
                 Key: HDFS-6832
                 URL: https://issues.apache.org/jira/browse/HDFS-6832
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.4.1
            Reporter: Akira AJISAKA
            Priority: Minor


{code}
[root@trunk ~]# hdfs namenode -help
Usage: java 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 ]  ]
{code}
There're some issues in the usage to be fixed.
# "Usage: java NameNode" should be "Usage: hdfs namenode"
# -rollingUpgrade started option should be added
# The last ']' should be removed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)