You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by el...@apache.org on 2011/11/20 04:29:20 UTC

svn commit: r1204117 - in /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs: CHANGES.txt src/main/resources/hdfs-default.xml

Author: eli
Date: Sun Nov 20 03:29:20 2011
New Revision: 1204117

URL: http://svn.apache.org/viewvc?rev=1204117&view=rev
Log:
HDFS-2502. hdfs-default.xml should include dfs.name.dir.restore. Contributed by Harsh J

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1204117&r1=1204116&r2=1204117&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Sun Nov 20 03:29:20 2011
@@ -134,8 +134,11 @@ Release 0.23.1 - UNRELEASED
   BUG FIXES
 
     HDFS-2541. For a sufficiently large value of blocks, the DN Scanner 
-    may request a random number with a negative seed value. (harsh)
+    may request a random number with a negative seed value. (harsh via eli)
 
+    HDFS-2502. hdfs-default.xml should include dfs.name.dir.restore.
+    (harsh via eli)
+    
 Release 0.23.0 - 2011-11-01 
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml?rev=1204117&r1=1204116&r2=1204117&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml Sun Nov 20 03:29:20 2011
@@ -194,6 +194,14 @@ creations/deletions), or "all".</descrip
 </property>
 
 <property>
+  <name>dfs.namenode.name.dir.restore</name>
+  <value>false</value>
+  <description>Set to true to enable NameNode to attempt recovering a
+      previously failed dfs.name.dir. When enabled, a recovery of any failed
+      directory is attempted during checkpoint.</description>
+</property>
+
+<property>
   <name>dfs.namenode.fs-limits.max-component-length</name>
   <value>0</value>
   <description>Defines the maximum number of characters in each component