diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index bdbe239da8a..3afe6e965af 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1625,32 +1625,6 @@ possible configurations would overwhelm and obscure the important. The default value is 0.5f. - - hbase.mob.sweep.tool.compaction.ratio - 0.5f - - 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. - - - - hbase.mob.sweep.tool.compaction.mergeable.size - 134217728 - - 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. - - - - hbase.mob.sweep.tool.compaction.memstore.flush.size - 134217728 - - The flush size for the memstore used by sweep job. Each sweep reducer owns such a memstore. - The default value is 128MB. - - hbase.master.mob.ttl.cleaner.period 86400 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 82fc9cf8270..6f4658d9926 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,