You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Clara Xiong (Jira)" <ji...@apache.org> on 2020/09/09 21:20:00 UTC

[jira] [Created] (HBASE-25006) Make the cost functions optional for StochastoicBalancer

Clara Xiong created HBASE-25006:
-----------------------------------

             Summary: Make the cost functions optional for StochastoicBalancer
                 Key: HBASE-25006
                 URL: https://issues.apache.org/jira/browse/HBASE-25006
             Project: HBase
          Issue Type: Improvement
            Reporter: Clara Xiong


StochastoicBalancer takes a long time to generate a plan for larger clusters. We want to make the cost functions optional.
hbase.master.balancer.stochastic.regionCountCost: 0
hbase.master.balancer.stochastic.primaryRegionCountCost: 0
hbase.master.balancer.stochastic.tableSkewCost: 0
hbase.master.balancer.stochastic.rackLocalityCost:0
hbase.master.balancer.stochastic.readRequestCost: 0
hbase.master.balancer.stochastic.cpRequestCost: 0
hbase.master.balancer.stochastic.writeRequestCost: 0
hbase.master.balancer.stochastic.regionReplicaHostCostKey: 0
hbase.master.balancer.stochastic.memstoreSizeCost: 0
hbase.master.balancer.stochastic.storefileSizeCost: 0
hbase.master.balancer.stochastic.regionReplicaRackCostKey: 0
hbase.master.balancer.stochastic.serverLocalityCost:0
 
This will turn off all cost functions
To keep some of them, we just need to set some to positive value



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