You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2019/06/24 15:57:15 UTC

[hadoop] branch trunk updated: HDDS-1719 : Increase ratis log segment size to 1MB. (#1005)

This is an automated email from the ASF dual-hosted git repository.

aengineer pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 81d2f1b  HDDS-1719 : Increase ratis log segment size to 1MB. (#1005)
81d2f1b is described below

commit 81d2f1b724c02cc477b3d6ea7f286e2fad3e3c67
Author: avijayanhwx <14...@users.noreply.github.com>
AuthorDate: Mon Jun 24 08:57:08 2019 -0700

    HDDS-1719 : Increase ratis log segment size to 1MB. (#1005)
    
    * HDDS-1719 : Increase ratis log segment size to 1MB.
    
    * HDDS-1719 : Increase ratis log segment size to 1MB.
---
 .../src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java       | 2 +-
 hadoop-hdds/common/src/main/resources/ozone-default.xml               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
index c91d1c1..ae09c9d 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
@@ -74,7 +74,7 @@ public final class ScmConfigKeys {
   public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_KEY =
       "dfs.container.ratis.segment.size";
   public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_DEFAULT =
-      "16KB";
+      "1MB";
   public static final String DFS_CONTAINER_RATIS_SEGMENT_PREALLOCATED_SIZE_KEY =
       "dfs.container.ratis.segment.preallocated.size";
   public static final String
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index d32a6ee..427def9 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -205,10 +205,10 @@
   </property>
   <property>
     <name>dfs.container.ratis.segment.size</name>
-    <value>16KB</value>
+    <value>1MB</value>
     <tag>OZONE, RATIS, PERFORMANCE</tag>
     <description>The size of the raft segment used by Apache Ratis on datanodes.
-      (16 KB by default)
+      (1 MB by default)
     </description>
   </property>
   <property>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org