Skip to content

Commit fd6e6e0

Browse files
liuzhuang2017Apache9
authored andcommitted
HBASE-27080 Optimize debug output log of ConstantSizeRegionSplitPolicy class. (#4481)
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 12a9e6e)
1 parent ef22184 commit fd6e6e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ protected final boolean isExceedSize(long sizeToCheck) {
100100
sumSize += store.getSize();
101101
}
102102
if (sumSize > sizeToCheck) {
103-
LOG.debug("ShouldSplit because region size is big enough " + "sumSize={}, sizeToCheck={}",
103+
LOG.debug("Should split because region size is big enough " + "sumSize={}, sizeToCheck={}",
104104
StringUtils.humanSize(sumSize), StringUtils.humanSize(sizeToCheck));
105105
return true;
106106
}
107107
} else {
108108
for (HStore store : region.getStores()) {
109109
long size = store.getSize();
110110
if (size > sizeToCheck) {
111-
LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
111+
LOG.debug("Should split because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
112112
StringUtils.humanSize(size), StringUtils.humanSize(sizeToCheck));
113113
return true;
114114
}

0 commit comments

Comments
 (0)