HBASE-14326 Clarify that ExploringCompactionPolicy evaluates a selection of StoreFiles, not a single StoreFile
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6a90e7b4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6a90e7b4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6a90e7b4 Branch: refs/heads/hbase-12439 Commit: 6a90e7b43ba7a0eb54b446ffa1067cf5858ee8c6 Parents: ab677a1 Author: Misty Stanley-Jones <mstanleyjo...@cloudera.com> Authored: Mon Oct 12 14:23:46 2015 +1000 Committer: Misty Stanley-Jones <mstanleyjo...@cloudera.com> Committed: Thu Oct 22 15:37:37 2015 +1000 ---------------------------------------------------------------------- hbase-common/src/main/resources/hbase-default.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/6a90e7b4/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 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. <property> <name>hbase.hstore.compaction.min.size</name> <value>134217728</value> - <description>A StoreFile smaller than this size will always be eligible for minor compaction. + <description>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. <property> <name>hbase.hstore.compaction.max.size</name> <value>9223372036854775807</value> - <description>A StoreFile larger than this size will be excluded from compaction. The effect of + <description>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.</description>