Browse Source

HADOOP-5937. Correct a safemode message in FSNamesystem. Contributed by Ravi Phulari

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@780766 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 16 years ago
parent
commit
c3d1ff9b6e
2 changed files with 4 additions and 1 deletions
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

+ 3 - 0
CHANGES.txt

@@ -101,6 +101,9 @@ Release 0.20.1 - Unreleased
     available memory on a tasktracker.
     (Vinod Kumar Vavilapalli via yhemanth)
 
+    HADOOP-5937. Correct a safemode message in FSNamesystem.  (Ravi Phulari
+    via szetszwo)
+
 Release 0.20.0 - 2009-04-15
 
   INCOMPATIBLE CHANGES

+ 1 - 1
src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

@@ -4182,7 +4182,7 @@ public class FSNamesystem implements FSConstants, FSNamesystemMBean {
           return leaveMsg + " upon completion of " + 
             "the distributed upgrade: upgrade progress = " + 
             getDistributedUpgradeStatus() + "%";
-        leaveMsg = "Use \"hadoop dfs -safemode leave\" to turn safe mode off";
+        leaveMsg = "Use \"hdfs dfsadmin -safemode leave\" to turn safe mode off";
       }
       if(blockTotal < 0)
         return leaveMsg + ".";