From b3a2613cbf6cf59d57a0f35e93cd627b710848ad Mon Sep 17 00:00:00 2001 From: GeorryHuang <215175212@qq.com> Date: Tue, 3 Nov 2020 05:58:26 +0800 Subject: [PATCH] HBASE-25090 CompactionConfiguration logs unrealistic store file sizes (#2612) Signed-off-by: stack Signed-off-by: Nick Dimiduk --- .../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 36b40c4a7b1d..7b3e5812fe1a 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 @@ -152,7 +152,9 @@ public class CompactionConfiguration { @Override public String toString() { return String.format( - "size [%d, %d, %d); 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,"