Forráskód Böngészése

HDFS-13012. TestOzoneConfigurationFields fails due to missing configs in ozone-default.xml. Contributed by Xiaoyu Yao.

Mukul Kumar Singh 7 éve
szülő
commit
1fb1ce107f

+ 16 - 8
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml

@@ -346,6 +346,22 @@
       etc. This picks one of those for this cluster.
     </description>
   </property>
+  <property>
+    <name>dfs.container.ratis.num.write.chunk.threads</name>
+    <value>60</value>
+    <tag>OZONE, RATIS, PERFORMANCE</tag>
+    <description>Maximum number of threads in the thread pool that Ratis
+      will use for writing chunks (60 by default).
+    </description>
+  </property>
+  <property>
+    <name>dfs.container.ratis.segment.size</name>
+    <value>134217728</value>
+    <tag>OZONE, RATIS, PERFORMANCE</tag>
+    <description>The size of the raft segment used by Apache Ratis on datanodes.
+      (128 MB by default)
+    </description>
+  </property>
   <property>
     <name>ozone.container.report.interval</name>
     <value>60000ms</value>
@@ -703,14 +719,6 @@
       datanode protocol.
     </description>
   </property>
-  <property>
-    <name>ozone.scm.ratis.segment.size</name>
-    <value>134217728</value>
-    <tag>OZONE, SCM, CONTAINER, PERFORMANCE</tag>
-    <description>
-      The size of the raft segment used by Apache Ratis on datanodes.
-    </description>
-  </property>
   <property>
     <name>ozone.scm.client.address</name>
     <value/>