HBASE-17157 Increase the default mergeable threshold for mob compaction

This commit is contained in:
Jingcheng Du 2016-11-22 17:39:10 +08:00
parent 6ff19f94fe
commit 92b494f117
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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