Переглянути джерело

HDFS-8566. HDFS documentation about debug commands wrongly identifies them as "hdfs dfs" commands (Surendra Singh Lilhore via Colin P. McCabe)

(cherry picked from commit 587309bbbadd4db41be83347e8c454049f4a7561)
Colin Patrick Mccabe 10 роки тому
батько
коміт
754dd3496c

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -647,6 +647,9 @@ Release 2.7.1 - UNRELEASED
 
     HDFS-8522. Change heavily recorded NN logs from INFO to DEBUG level. (xyao)
 
+    HDFS-8566. HDFS documentation about debug commands wrongly identifies them
+    as "hdfs dfs" commands (Surendra Singh Lilhore via Colin P. McCabe)
+
 Release 2.7.0 - 2015-04-20
 
   INCOMPATIBLE CHANGES

+ 2 - 2
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md

@@ -498,7 +498,7 @@ Useful commands to help administrators debug HDFS issues, like validating block
 
 ### `verify`
 
-Usage: `hdfs dfs verify [-meta <metadata-file>] [-block <block-file>]`
+Usage: `hdfs debug verify [-meta <metadata-file>] [-block <block-file>]`
 
 | COMMAND\_OPTION | Description |
 |:---- |:---- |
@@ -509,7 +509,7 @@ Verify HDFS metadata and block files. If a block file is specified, we will veri
 
 ### `recoverLease`
 
-Usage: `hdfs dfs recoverLease [-path <path>] [-retries <num-retries>]`
+Usage: `hdfs debug recoverLease [-path <path>] [-retries <num-retries>]`
 
 | COMMAND\_OPTION | Description |
 |:---- |:---- |