HBASE-24797 Move log code out of loop

Closes #2175

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
ddupg 2020-07-30 15:07:34 +05:30 committed by Viraj Jasani
parent 06236dbfcc
commit 13f9f7a2c1
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
1 changed files with 4 additions and 4 deletions

View File

@ -1945,11 +1945,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();