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 f07f30ae24
commit 1b9269de4d
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
1 changed files with 4 additions and 4 deletions

View File

@ -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();