HBASE-27080 Optimize debug output log of ConstantSizeRegionSplitPolicy class. (#4481)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
7184949cea
commit
12a9e6e5ec
|
@ -100,7 +100,7 @@ public class ConstantSizeRegionSplitPolicy extends RegionSplitPolicy {
|
|||
sumSize += store.getSize();
|
||||
}
|
||||
if (sumSize > sizeToCheck) {
|
||||
LOG.debug("ShouldSplit because region size is big enough " + "sumSize={}, sizeToCheck={}",
|
||||
LOG.debug("Should split because region size is big enough " + "sumSize={}, sizeToCheck={}",
|
||||
StringUtils.humanSize(sumSize), StringUtils.humanSize(sizeToCheck));
|
||||
return true;
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ public class ConstantSizeRegionSplitPolicy extends RegionSplitPolicy {
|
|||
for (HStore store : region.getStores()) {
|
||||
long size = store.getSize();
|
||||
if (size > sizeToCheck) {
|
||||
LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
|
||||
LOG.debug("Should split because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
|
||||
StringUtils.humanSize(size), StringUtils.humanSize(sizeToCheck));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue