Explorar o código

HDFS-7669. HDFS Design Doc references commands that no longer exist. (Brahma Reddy Battula via aw)

Allen Wittenauer %!s(int64=10) %!d(string=hai) anos
pai
achega
fcad031d72

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

@@ -290,6 +290,9 @@ Trunk (Unreleased)
     HDFS-7670. HDFS Quota guide has typos, incomplete command lines
     (Brahma Reddy Battula via aw)
 
+    HDFS-7669. HDFS Design Doc references commands that no longer exist.
+    (Brahma Reddy Battula via aw)
+
 Release 2.7.0 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 5 - 7
hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsDesign.apt.vm

@@ -13,9 +13,7 @@
   ---
   HDFS Architecture
   ---
-  Dhruba Borthakur
-  ---
-  ${maven.build.timestamp}
+    ${maven.build.timestamp}
 
 HDFS Architecture
 
@@ -439,7 +437,7 @@ HDFS Architecture
 *---------+---------+
 | Create a directory named <<</foodir>>> | <<<bin/hadoop dfs -mkdir /foodir>>>
 *---------+---------+
-| Remove a directory named <<</foodir>>> | <<<bin/hadoop dfs -rmr /foodir>>>
+| Remove a directory named <<</foodir>>> | <<<bin/hadoop fs -rm -R /foodir>>>
 *---------+---------+
 | View the contents of a file named <<</foodir/myfile.txt>>> | <<<bin/hadoop dfs -cat /foodir/myfile.txt>>>
 *---------+---------+
@@ -456,11 +454,11 @@ HDFS Architecture
 *---------+---------+
 || Action | Command
 *---------+---------+
-|Put the cluster in Safemode              | <<<bin/hadoop dfsadmin -safemode enter>>>
+|Put the cluster in Safemode              | <<<bin/hdfs dfsadmin -safemode enter>>>
 *---------+---------+
-|Generate a list of DataNodes             | <<<bin/hadoop dfsadmin -report>>>
+|Generate a list of DataNodes             | <<<bin/hdfs dfsadmin -report>>>
 *---------+---------+
-|Recommission or decommission DataNode(s) | <<<bin/hadoop dfsadmin -refreshNodes>>>
+|Recommission or decommission DataNode(s) | <<<bin/hdfs dfsadmin -refreshNodes>>>
 *---------+---------+
 
 ** Browser Interface