You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2020/10/30 17:33:54 UTC

[hbase] branch branch-2.3 updated: HBASE-25090 CompactionConfiguration logs unrealistic store file sizes (#2595)

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new f1fdb2b  HBASE-25090 CompactionConfiguration logs unrealistic store file sizes (#2595)
f1fdb2b is described below

commit f1fdb2ba3e56a304b1346d7b4730afac2bbbfa17
Author: GeorryHuang <21...@qq.com>
AuthorDate: Fri Oct 30 04:09:18 2020 +0800

    HBASE-25090 CompactionConfiguration logs unrealistic store file sizes (#2595)
    
    
    Signed-off-by: stack <st...@apache.org>
---
 .../hbase/regionserver/compactions/CompactionConfiguration.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionConfiguration.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionConfiguration.java
index f9158c5..9bf8f5c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionConfiguration.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionConfiguration.java
@@ -151,7 +151,9 @@ public class CompactionConfiguration {
   @Override
   public String toString() {
     return String.format(
-      "size [%s, %s, %s); files [%d, %d); ratio %f; off-peak ratio %f; throttle point %d;"
+      "size [minCompactSize:%s, maxCompactSize:%s, offPeakMaxCompactSize:%s);"
+      + " files [minFilesToCompact:%d, maxFilesToCompact:%d);"
+      + " ratio %f; off-peak ratio %f; throttle point %d;"
       + " major period %d, major jitter %f, min locality to compact %f;"
       + " tiered compaction: max_age %d, incoming window min %d,"
       + " compaction policy for tiered window %s, single output for minor %b,"