Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.0
-
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.