[ 
https://issues.apache.org/jira/browse/HBASE-23153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey resolved HBASE-23153.
---------------------------------
    Release Note: 
<!-- markdown -->
The `PrimaryRegionCountSkewCostFunction` for the `StochasticLoadBalancer` is 
only needed when the read replicas feature is enabled. With this change, that 
function now properly indicates that it is not needed when the read replica 
feature is off.

If this improvement is not available, operators with clusters that are not 
using the read replica feature should manually disable it by setting 
`hbase.master.balancer.stochastic.primaryRegionCountCost` to `0.0` in 
hbase-site.xml for all HBase Masters.
      Resolution: Fixed

> PrimaryRegionCountSkewCostFunction SLB function should implement 
> CostFunction#isNeeded
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-23153
>                 URL: https://issues.apache.org/jira/browse/HBASE-23153
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 2.1.8, 2.2.2, 1.4.11, 1.6.0
>
>
> The PrimaryRegionCountSkewCostFunction SLB function should implement 
> CostFunction#isNeeded and like the other region replica specific functions 
> should return false for it when region replicas are not in use. Otherwise it 
> will always report a cost of 0 even though its weight will be included in the 
> sum of the weights. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to