[ https://issues.apache.org/jira/browse/HBASE-26308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433272#comment-17433272 ]
Hudson commented on HBASE-26308: -------------------------------- Results for branch branch-2.4 [build #219 on builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.4/219/]: (/) *{color:green}+1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.4/219/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.4/219/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.4/219/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.4/219/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} > Sum of multiplier of cost functions is not populated properly when we have a > shortcut for trigger > ------------------------------------------------------------------------------------------------- > > Key: HBASE-26308 > URL: https://issues.apache.org/jira/browse/HBASE-26308 > Project: HBase > Issue Type: Sub-task > Components: Balancer > Reporter: Clara Xiong > Assignee: Clara Xiong > Priority: Critical > > We have a couple of scenarios that we force balancing: > * idle servers > * co-hosted regions > The code path quit before populating the sum of multiplier of cost functions. > This causes wrong value reported in logging. As below, the weighted average > is not divide by total weight. This causes inconsistent log among iterations. > {quote}2021-09-24 21:46:57,881 INFO > org.apache.hadoop.hbase.master.balancer.S*tocha*sticLoadBalancer: Running > balancer because at least one server hosts replicas of the same region. > 2021-09-24 21:46:57,881 INFO > org.apache.hadoop.hbase.master.balancer.S*tocha*sticLoadBalancer: Start > S*tocha*sticLoadBalancer.balancer, initial weighted average > imbalance=6389.260497305375, functionCost=RegionCountSkewCostFunction : > (multiplier=500.0, imbalance=0.06659036267913739); > PrimaryRegionCountSkewCostFunction : (multiplier=500.0, > imbalance=0.05296760285663541); MoveCostFunction : (multiplier=7.0, > imbalance=0.0, balanced); ServerLocalityCostFunction : (multiplier=25.0, > imbalance=0.46286750487559114); RackLocalityCostFunction : (multiplier=15.0, > imbalance=0.2569525347374165); TableSkewCostFunction : (multiplier=500.0, > imbalance=0.3760689783169534); RegionReplicaHostCostFunction : > (multiplier=100000.0, imbalance=0.0553889913899139); > RegionReplicaRackCostFunction : (multiplier=10000.0, > imbalance=0.05854089790897909); ReadRequestCostFunction : (multiplier=5.0, > imbalance=0.06969346106898068); WriteRequestCostFunction : (multiplier=5.0, > imbalance=0.07834116112410174); MemStoreSizeCostFunction : (multiplier=5.0, > imbalance=0.12533769793201735); StoreFileCostFunction : (multiplier=5.0, > imbalance=0.06921401085082914); computedMaxSteps=5577401600 > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)