Przeglądaj źródła

HDFS-3091. Update the usage limitations of ReplaceDatanodeOnFailure policy in the config description for the smaller clusters. Contributed by Nicholas.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1302624 13f79535-47bb-0310-9956-ffa450edef68
Uma Maheswara Rao G 13 lat temu
rodzic
commit
f77b1a63ec

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

@@ -52,6 +52,9 @@ Trunk (unreleased changes)
 
     HDFS-3111. Missing license headers in trunk. (umamahesh)
 
+    HDFS-3091. Update the usage limitations of ReplaceDatanodeOnFailure policy in
+    the config description for the smaller clusters. (szetszwo via umamahesh)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 6 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

@@ -371,6 +371,12 @@
 
     This is a site-wide property to enable/disable the feature.
 
+    When the cluster size is extremely small, e.g. 3 nodes or less, cluster
+    administrators may want to set the policy to NEVER in the default
+    configuration file or disable this feature.  Otherwise, users may
+    experience an unusually high rate of pipeline failures since it is
+    impossible to find new datanodes for replacement.
+
     See also dfs.client.block.write.replace-datanode-on-failure.policy
   </description>
 </property>