[ https://issues.apache.org/jira/browse/HBASE-24797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17168910#comment-17168910 ]
Hudson commented on HBASE-24797: -------------------------------- Results for branch branch-2.3 [build #196 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/196/]: (/) *{color:green}+1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/196/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/196/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/196/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/196/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > Move log code out of loop > ------------------------- > > Key: HBASE-24797 > URL: https://issues.apache.org/jira/browse/HBASE-24797 > Project: HBase > Issue Type: Bug > Components: Normalizer > Affects Versions: 3.0.0-alpha-1 > Reporter: Sun Xin > Assignee: Sun Xin > Priority: Minor > Fix For: 3.0.0-alpha-1, 2.3.1, 2.4.0 > > > In HMaster#normalizeRegions, maybe we shoule move the log code about > submittedPlanProcIds out of loop. > > {code:java} > public boolean normalizeRegions() throws IOException { > ... > final List<Long> submittedPlanProcIds = new ArrayList<>(); > for (TableName table : allEnabledTables) { > ... > for (NormalizationPlan plan : plans) { > long procId = plan.submit(this); > submittedPlanProcIds.add(procId); > ... > } > int totalPlansSubmitted = submittedPlanProcIds.size(); > if (totalPlansSubmitted > 0 && LOG.isDebugEnabled()) { > LOG.debug("Normalizer plans submitted. Total plans count: {} , procID > list: {}", > totalPlansSubmitted, submittedPlanProcIds); > } > } > ... > } > {code} > > -- This message was sent by Atlassian Jira (v8.3.4#803005)