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 2020/05/12 18:03:13 UTC
[hbase] branch branch-2.1 updated: HBASE-23832 Old config
hbase.hstore.compactionThreshold is ignored (#1698)
This is an automated email from the ASF dual-hosted git repository.
anoopsamjohn pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new b431e94 HBASE-23832 Old config hbase.hstore.compactionThreshold is ignored (#1698)
b431e94 is described below
commit b431e9475eaf171fe53ea9cf053d4e513a5f7b52
Author: Sambit Mohapatra <mo...@live.com>
AuthorDate: Tue May 12 10:50:48 2020 -0700
HBASE-23832 Old config hbase.hstore.compactionThreshold is ignored (#1698)
Signed-off-by Anoop Sam John <an...@apache.org>
---
hbase-common/src/main/resources/hbase-default.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index a7f6b24..eb07eaa 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -751,14 +751,15 @@ possible configurations would overwhelm and obscure the important.
</property>
<property>
<name>hbase.hstore.compaction.min</name>
- <value>3</value>
+ <value></value>
<description>The minimum number of StoreFiles which must be eligible for compaction before
compaction can run. The goal of tuning hbase.hstore.compaction.min is to avoid ending up with
too many tiny StoreFiles to compact. Setting this value to 2 would cause a minor compaction
each time you have two StoreFiles in a Store, and this is probably not appropriate. If you
set this value too high, all the other values will need to be adjusted accordingly. For most
- cases, the default value is appropriate. In previous versions of HBase, the parameter
- hbase.hstore.compaction.min was named hbase.hstore.compactionThreshold.</description>
+ cases, the default value is appropriate (empty value here, results in 3 by code logic). In
+ previous versions of HBase, the parameter hbase.hstore.compaction.min was named
+ hbase.hstore.compactionThreshold.</description>
</property>
<property>
<name>hbase.hstore.compaction.max</name>