You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ji...@apache.org on 2016/11/22 09:41:27 UTC

hbase git commit: HBASE-17157 Increase the default mergeable threshold for mob compaction

Repository: hbase
Updated Branches:
  refs/heads/master 6ff19f94f -> 92b494f11


HBASE-17157 Increase the default mergeable threshold for mob compaction


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/92b494f1
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/92b494f1
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/92b494f1

Branch: refs/heads/master
Commit: 92b494f117e8de9b4cc30f419e49abd16c37d504
Parents: 6ff19f9
Author: Jingcheng Du <ji...@intel.com>
Authored: Tue Nov 22 17:39:10 2016 +0800
Committer: Jingcheng Du <ji...@intel.com>
Committed: Tue Nov 22 17:39:10 2016 +0800

----------------------------------------------------------------------
 hbase-common/src/main/resources/hbase-default.xml                | 4 ++--
 .../src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/92b494f1/hbase-common/src/main/resources/hbase-default.xml
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index 3afe6e9..7b33f92 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -1638,10 +1638,10 @@ possible configurations would overwhelm and obscure the important.
   </property>
   <property>
     <name>hbase.mob.compaction.mergeable.threshold</name>
-    <value>201326592</value>
+    <value>1342177280</value>
     <description>
       If the size of a mob file is less than this value, it's regarded as a small
-      file and needs to be merged in mob compaction. The default value is 192MB.
+      file and needs to be merged in mob compaction. The default value is 1280MB.
     </description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/hbase/blob/92b494f1/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
index 6f4658d..2892cb2 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
@@ -62,11 +62,11 @@ public final class MobConstants {
   public final static String EMPTY_STRING = "";
   /**
    * If the size of a mob file is less than this value, it's regarded as a small file and needs to
-   * be merged in mob compaction. The default value is 192MB.
+   * be merged in mob compaction. The default value is 1280MB.
    */
   public static final String MOB_COMPACTION_MERGEABLE_THRESHOLD =
     "hbase.mob.compaction.mergeable.threshold";
-  public static final long DEFAULT_MOB_COMPACTION_MERGEABLE_THRESHOLD = 192 * 1024 * 1024;
+  public static final long DEFAULT_MOB_COMPACTION_MERGEABLE_THRESHOLD = 10 * 128 * 1024 * 1024;
   /**
    * The max number of del files that is allowed in the mob file compaction. In the mob
    * compaction, when the number of existing del files is larger than this value, they are merged