HDFS-8551. Fix hdfs datanode CLI usage message. Contributed by Brahma Reddy Battula.

(cherry picked from commit 9cd5ad9d84)
This commit is contained in:
Xiaoyu Yao 2015-06-16 14:12:45 -07:00
parent fe7f2d40fe
commit 4bfbc6b1d4
2 changed files with 6 additions and 1 deletions

View File

@ -563,6 +563,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8548. Minicluster throws NPE on shutdown.
(surendra singh lilhore via xyao)
HDFS-8551. Fix hdfs datanode CLI usage message.
(Brahma Reddy Battula via xyao)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -263,9 +263,11 @@ public class DataNode extends ReconfigurableBase
LogFactory.getLog(DataNode.class.getName() + ".clienttrace");
private static final String USAGE =
"Usage: java DataNode [-regular | -rollback]\n" +
"Usage: hdfs datanode [-regular | -rollback | -rollingupgrade rollback" +
" ]\n" +
" -regular : Normal DataNode startup (default).\n" +
" -rollback : Rollback a standard or rolling upgrade.\n" +
" -rollingupgrade rollback : Rollback a rolling upgrade operation.\n" +
" Refer to HDFS documentation for the difference between standard\n" +
" and rolling upgrades.";