Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6832

Fix the usage of 'hdfs namenode' command

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      [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 ]  ]
      

      There're some issues in the usage to be fixed.

      1. "Usage: java NameNode" should be "Usage: hdfs namenode"
      2. -rollingUpgrade started option should be added
      3. The last ']' should be removed.

        Attachments

        1. hdfs-6832_003.txt
          0.8 kB
          Manjunath Ballur
        2. hdfs-6832_002.txt
          2 kB
          skrho
        3. hdfs-6832_001.txt
          1 kB
          skrho
        4. hdfs-6832.txt
          2 kB
          skrho

          Activity

            People

            • Assignee:
              mballur Manjunath Ballur
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: