Przeglądaj źródła

AMBARI-1983. Add new parameters to improve HBase MTTR. HPLocal fixes. (swagle)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1478467 13f79535-47bb-0310-9956-ffa450edef68
Siddharth Wagle 12 lat temu
rodzic
commit
ed9ffa4579

+ 3 - 0
CHANGES.txt

@@ -825,6 +825,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1983. Add new parameters to improve HBase MTTR. HDPLocal fixes. 
+ (swagle)
+
  AMBARI-2066. HDFS shortcircuit skip checksum should be removed. (smohanty)
 
  AMBARI-2056. Show proper error message while user tries to save configurations 

+ 10 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.0/services/HDFS/configuration/hdfs-site.xml

@@ -412,4 +412,14 @@ don't exist, they will be created with this permission.</description>
   <description>Number of failed disks datanode would tolerate</description>
 </property>
 
+  <property>
+    <name>dfs.namenode.check.stale.datanode</name>
+    <value>true</value>
+    <description>
+      With this setting, the datanodes that have not replied to the heartbeat
+      for more than 30s (i.e. in a stale state) are used for reads only if all
+      other remote replicas have failed.
+    </description>
+  </property>
+
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/hbase-site.xml

@@ -160,7 +160,7 @@
   </property>
   <property>
     <name>zookeeper.session.timeout</name>
-    <value></value>
+    <value>60000</value>
     <description>ZooKeeper session timeout.
       HBase passes this to the zk quorum as suggested maximum time for a
       session (This setting becomes zookeeper's 'maxSessionTimeout').  See

+ 10 - 0
ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml

@@ -412,4 +412,14 @@ don't exist, they will be created with this permission.</description>
   <description>Number of failed disks datanode would tolerate</description>
 </property>
 
+  <property>
+    <name>dfs.namenode.check.stale.datanode</name>
+    <value>true</value>
+    <description>
+      With this setting, the datanodes that have not replied to the heartbeat
+      for more than 30s (i.e. in a stale state) are used for reads only if all
+      other remote replicas have failed.
+    </description>
+  </property>
+
 </configuration>