Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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