This is an automated email from the ASF dual-hosted git repository.

vjasani pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new e512d29  HBASE-24427 HStore.add log format error (#1773)
e512d29 is described below

commit e512d291c3ffe9a36ac78fb64a9aafdfa4a3723c
Author: WenFeiYi <[email protected]>
AuthorDate: Mon May 25 20:58:12 2020 +0800

    HBASE-24427 HStore.add log format error (#1773)
    
    Signed-off-by: Viraj Jasani <[email protected]>
---
 .../main/java/org/apache/hadoop/hbase/regionserver/HStore.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 01bfe92..9fcb138 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
@@ -730,8 +730,8 @@ public class HStore implements Store, HeapSize, 
StoreConfigInformation, Propagat
     lock.readLock().lock();
     try {
       if (this.currentParallelPutCount.getAndIncrement() > 
this.parallelPutCountPrintThreshold) {
-        LOG.trace(this.getTableName() + "tableName={}, encodedName={}, 
columnFamilyName={} is " +
-          "too busy!", this.getRegionInfo().getEncodedName(), this 
.getColumnFamilyName());
+        LOG.trace("tableName={}, encodedName={}, columnFamilyName={} is too 
busy!",
+            this.getTableName(), this.getRegionInfo().getEncodedName(), 
this.getColumnFamilyName());
       }
       this.memstore.add(cell, memstoreSizing);
     } finally {
@@ -747,8 +747,8 @@ public class HStore implements Store, HeapSize, 
StoreConfigInformation, Propagat
     lock.readLock().lock();
     try {
       if (this.currentParallelPutCount.getAndIncrement() > 
this.parallelPutCountPrintThreshold) {
-        LOG.trace(this.getTableName() + "tableName={}, encodedName={}, 
columnFamilyName={} is " +
-            "too busy!", this.getRegionInfo().getEncodedName(), this 
.getColumnFamilyName());
+        LOG.trace("tableName={}, encodedName={}, columnFamilyName={} is too 
busy!",
+            this.getTableName(), this.getRegionInfo().getEncodedName(), 
this.getColumnFamilyName());
       }
       memstore.add(cells, memstoreSizing);
     } finally {

Reply via email to