From 3b383806bead3e756a9d02c976aae1aebaadb39b Mon Sep 17 00:00:00 2001 From: weimingdiit <292619280@qq.com> Date: Mon, 4 Apr 2022 20:20:30 +0800 Subject: [PATCH] HBASE-26924 Fix log parameter error and spelling error (#4318) Signed-off-by: Duo Zhang Signed-off-by: Pankaj Kumar (cherry picked from commit 003c572246749bfaee4d81bdbd7bddd73d6759c3) --- .../hbase/regionserver/ConstantSizeRegionSplitPolicy.java | 2 +- .../hbase/replication/regionserver/TestReplicationSource.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.java index 92b5ed8ce941..4588633c5ae5 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.java @@ -111,7 +111,7 @@ protected final boolean isExceedSize(long sizeToCheck) { for (HStore store : region.getStores()) { long size = store.getSize(); if (size > sizeToCheck) { - LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}{}", + LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}", store.getColumnFamilyName(), StringUtils.humanSize(size), StringUtils.humanSize(sizeToCheck)); return true; diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java index 6da360054576..48b65fda29df 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java @@ -589,7 +589,7 @@ public void testReplicationSourceInitializingMetric() throws IOException { /** * Test ReplicationSource keeps retrying startup indefinitely without blocking the main thread, - * when eplication.source.regionserver.abort is set to false. + * when replication.source.regionserver.abort is set to false. */ @Test public void testAbortFalseOnErrorDoesntBlockMainThread() throws IOException {