hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8551) Fix hdfs datanode CLI usage message
Date Sat, 06 Jun 2015 06:07:00 GMT
Xiaoyu Yao created HDFS-8551:

             Summary: Fix hdfs datanode CLI usage message
                 Key: HDFS-8551
                 URL: https://issues.apache.org/jira/browse/HDFS-8551
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.6.0
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao

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|http://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html#datanode].

Usage: hdfs datanode [-regular | -rollback | -rollingupgrace rollback]

-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.

This message was sent by Atlassian JIRA

View raw message