You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by vj...@apache.org on 2020/07/30 09:46:39 UTC

[hbase] branch master updated: HBASE-24797 Move log code out of loop

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1b9269d  HBASE-24797 Move log code out of loop
1b9269d is described below

commit 1b9269de4d340f2f69637697c8391e837b789734
Author: ddupg <dd...@gmail.com>
AuthorDate: Thu Jul 30 15:07:34 2020 +0530

    HBASE-24797 Move log code out of loop
    
    Closes #2175
    
    Signed-off-by: Viraj Jasani <vj...@apache.org>
---
 .../src/main/java/org/apache/hadoop/hbase/master/HMaster.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index bde8537..9d2838d 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -1973,11 +1973,11 @@ public class HMaster extends HRegionServer implements MasterServices {
             mergePlanCount++;
           }
         }
-        int totalPlansSubmitted = submittedPlanProcIds.size();
-        if (totalPlansSubmitted > 0 && LOG.isDebugEnabled()) {
-          LOG.debug("Normalizer plans submitted. Total plans count: {} , procID list: {}",
+      }
+      int totalPlansSubmitted = submittedPlanProcIds.size();
+      if (totalPlansSubmitted > 0 && LOG.isDebugEnabled()) {
+        LOG.debug("Normalizer plans submitted. Total plans count: {} , procID list: {}",
             totalPlansSubmitted, submittedPlanProcIds);
-        }
       }
     } finally {
       normalizationInProgressLock.unlock();