You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by an...@apache.org on 2016/11/21 10:24:50 UTC
hbase git commit: HBASE-17139 Remove sweep tool related configs from
hbase-default.xml.
Repository: hbase
Updated Branches:
refs/heads/master 5f7cf0bb7 -> 549c8d835
HBASE-17139 Remove sweep tool related configs from hbase-default.xml.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/549c8d83
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/549c8d83
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/549c8d83
Branch: refs/heads/master
Commit: 549c8d835a4a715e231827ef7674bff5ba2646af
Parents: 5f7cf0b
Author: anoopsamjohn <an...@gmail.com>
Authored: Mon Nov 21 15:54:31 2016 +0530
Committer: anoopsamjohn <an...@gmail.com>
Committed: Mon Nov 21 15:54:31 2016 +0530
----------------------------------------------------------------------
.../src/main/resources/hbase-default.xml | 26 --------------------
.../apache/hadoop/hbase/mob/MobConstants.java | 17 -------------
2 files changed, 43 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/549c8d83/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 bdbe239..3afe6e9 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -1626,32 +1626,6 @@ possible configurations would overwhelm and obscure the important.
</description>
</property>
<property>
- <name>hbase.mob.sweep.tool.compaction.ratio</name>
- <value>0.5f</value>
- <description>
- If there're too many cells deleted in a mob file, it's regarded
- as an invalid file and needs to be merged.
- If existingCellsSize/mobFileSize is less than ratio, it's regarded
- as an invalid file. The default value is 0.5f.
- </description>
- </property>
- <property>
- <name>hbase.mob.sweep.tool.compaction.mergeable.size</name>
- <value>134217728</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. The default value is 128MB.
- </description>
- </property>
- <property>
- <name>hbase.mob.sweep.tool.compaction.memstore.flush.size</name>
- <value>134217728</value>
- <description>
- The flush size for the memstore used by sweep job. Each sweep reducer owns such a memstore.
- The default value is 128MB.
- </description>
- </property>
- <property>
<name>hbase.master.mob.ttl.cleaner.period</name>
<value>86400</value>
<description>
http://git-wip-us.apache.org/repos/asf/hbase/blob/549c8d83/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 82fc9cf..6f4658d 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
@@ -48,23 +48,6 @@ public final class MobConstants {
public static final String MOB_CLEANER_PERIOD = "hbase.master.mob.ttl.cleaner.period";
public static final int DEFAULT_MOB_CLEANER_PERIOD = 24 * 60 * 60; // one day
- public static final String MOB_SWEEP_TOOL_COMPACTION_START_DATE =
- "hbase.mob.sweep.tool.compaction.start.date";
- public static final String MOB_SWEEP_TOOL_COMPACTION_RATIO =
- "hbase.mob.sweep.tool.compaction.ratio";
- public static final String MOB_SWEEP_TOOL_COMPACTION_MERGEABLE_SIZE =
- "hbase.mob.sweep.tool.compaction.mergeable.size";
-
- public static final float DEFAULT_SWEEP_TOOL_MOB_COMPACTION_RATIO = 0.5f;
- public static final long DEFAULT_SWEEP_TOOL_MOB_COMPACTION_MERGEABLE_SIZE = 128 * 1024 * 1024;
-
- public static final String MOB_SWEEP_TOOL_COMPACTION_TEMP_DIR_NAME = "mobcompaction";
-
- public static final String MOB_SWEEP_TOOL_COMPACTION_MEMSTORE_FLUSH_SIZE =
- "hbase.mob.sweep.tool.compaction.memstore.flush.size";
- public static final long DEFAULT_MOB_SWEEP_TOOL_COMPACTION_MEMSTORE_FLUSH_SIZE =
- 1024 * 1024 * 128; // 128M
-
public static final String MOB_CACHE_EVICT_PERIOD = "hbase.mob.cache.evict.period";
public static final String MOB_CACHE_EVICT_REMAIN_RATIO = "hbase.mob.cache.evict.remain.ratio";
public static final Tag MOB_REF_TAG = new ArrayBackedTag(TagType.MOB_REFERENCE_TAG_TYPE,