From ce357bde2c993e184513573bca1f4886fbe7479a Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Mon, 12 Oct 2015 14:23:46 +1000 Subject: [PATCH] HBASE-14326 Clarify that ExploringCompactionPolicy evaluates a selection of StoreFiles, not a single StoreFile --- hbase-common/src/main/resources/hbase-default.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index b825bef..1654391 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -736,7 +736,8 @@ possible configurations would overwhelm and obscure the important. hbase.hstore.compaction.min.size 134217728 - A StoreFile smaller than this size will always be eligible for minor compaction. + A StoreFile (or a selection of StoreFiles, when using ExploringCompactionPolicy) + smaller than this size will always be eligible for minor compaction. HFiles this size or larger are evaluated by hbase.hstore.compaction.ratio to determine if they are eligible. Because this limit represents the "automatic include"limit for all StoreFiles smaller than this value, this value may need to be reduced in write-heavy @@ -750,7 +751,8 @@ possible configurations would overwhelm and obscure the important. hbase.hstore.compaction.max.size 9223372036854775807 - A StoreFile larger than this size will be excluded from compaction. The effect of + A StoreFile (or a selection of StoreFiles, when using ExploringCompactionPolicy) + larger than this size will be excluded from compaction. The effect of raising hbase.hstore.compaction.max.size is fewer, larger StoreFiles that do not get compacted often. If you feel that compaction is happening too often without much benefit, you can try raising this value. Default: the value of LONG.MAX_VALUE, expressed in bytes. -- 2.3.8 (Apple Git-58)