From b8365e5110ff3533eb289158479326d4c1b7d84a Mon Sep 17 00:00:00 2001 From: Puleya7 Date: Fri, 10 May 2019 16:56:45 +0800 Subject: [PATCH] HBASE-22392. Remove extra/useless + Signed-off-by: Jan Hentschel --- .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java | 2 +- .../main/java/org/apache/hadoop/hbase/regionserver/HStore.java | 2 +- .../org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index 84cd10f5efd..500c89433fb 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -2711,7 +2711,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi } } MemStoreSize mss = this.memStoreSizing.getMemStoreSize(); - LOG.info("Flushing " + + storesToFlush.size() + "/" + stores.size() + " column families," + + LOG.info("Flushing " + storesToFlush.size() + "/" + stores.size() + " column families," + " dataSize=" + StringUtils.byteDesc(mss.getDataSize()) + " heapSize=" + StringUtils.byteDesc(mss.getHeapSize()) + ((perCfExtras != null && perCfExtras.length() > 0)? perCfExtras.toString(): "") + diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java index 5db1879898b..2f40bcbc722 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java @@ -2401,7 +2401,7 @@ public class HStore implements Store, HeapSize, StoreConfigInformation, Propagat if (LOG.isInfoEnabled()) { LOG.info("Region: " + HStore.this.getRegionInfo().getEncodedName() + " added " + storeFile + ", entries=" + storeFile.getReader().getEntries() + - ", sequenceid=" + +storeFile.getReader().getSequenceID() + ", filesize=" + ", sequenceid=" + storeFile.getReader().getSequenceID() + ", filesize=" + TraditionalBinaryPrefix.long2String(storeFile.getReader().length(), "", 1)); } } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java index 70aa26a28d6..c9814888ae4 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java @@ -405,7 +405,7 @@ public class LoadIncrementalHFiles extends Configured implements Tool { // need to reload split keys each iteration. final Pair startEndKeys = regionLocator.getStartEndKeys(); if (count != 0) { - LOG.info("Split occurred while grouping HFiles, retry attempt " + +count + " with " + + LOG.info("Split occurred while grouping HFiles, retry attempt " + count + " with " + queue.size() + " files remaining to group or split"); }