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

Fix hdfs datanode CLI usage message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      There are two issues with current "hdfs datanode" usage message below.

      Usage: java DataNode [-regular | -rollback]
          -regular                 : Normal DataNode startup (default).
          -rollback                : Rollback a standard or rolling upgrade.
        Refer to HDFS documentation for the difference between standard
        and rolling upgrades.
      

      1. "java DataNode" should be "hdfs datanode"
      2. "rollingupgrace" option is missing but it is document correctly in the link.

      Usage: hdfs datanode [-regular | -rollback | -rollingupgrace rollback]
      
      COMMAND_OPTION	Description
      -regular	Normal datanode startup (default).
      -rollback	Rollback the datanode to the previous version. This should be used after stopping the datanode and distributing the old hadoop version.
      -rollingupgrade rollback	Rollback a rolling upgrade operation.
      

      Attachments

        1. HDFS-8551.patch
          1 kB
          Brahma Reddy Battula
        2. HDFS-8551-002.patch
          1 kB
          Brahma Reddy Battula
        3. HDFS-8551-003.patch
          1 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: