From 1b9269de4d340f2f69637697c8391e837b789734 Mon Sep 17 00:00:00 2001 From: ddupg Date: Thu, 30 Jul 2020 15:07:34 +0530 Subject: [PATCH] HBASE-24797 Move log code out of loop Closes #2175 Signed-off-by: Viraj Jasani --- .../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 bde8537b9ca..9d2838d86c3 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();