HBASE-26924 Fix log parameter error and spelling error (#4318)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
(cherry picked from commit 003c572246
)
This commit is contained in:
parent
ab9ccabe8f
commit
3b383806be
|
@ -111,7 +111,7 @@ public class ConstantSizeRegionSplitPolicy extends RegionSplitPolicy {
|
||||||
for (HStore store : region.getStores()) {
|
for (HStore store : region.getStores()) {
|
||||||
long size = store.getSize();
|
long size = store.getSize();
|
||||||
if (size > sizeToCheck) {
|
if (size > sizeToCheck) {
|
||||||
LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}{}",
|
LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}",
|
||||||
store.getColumnFamilyName(), StringUtils.humanSize(size),
|
store.getColumnFamilyName(), StringUtils.humanSize(size),
|
||||||
StringUtils.humanSize(sizeToCheck));
|
StringUtils.humanSize(sizeToCheck));
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -589,7 +589,7 @@ public class TestReplicationSource {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test ReplicationSource keeps retrying startup indefinitely without blocking the main thread,
|
* Test ReplicationSource keeps retrying startup indefinitely without blocking the main thread,
|
||||||
* when <b>eplication.source.regionserver.abort</b> is set to false.
|
* when <b>replication.source.regionserver.abort</b> is set to false.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testAbortFalseOnErrorDoesntBlockMainThread() throws IOException {
|
public void testAbortFalseOnErrorDoesntBlockMainThread() throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue