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

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

    [ https://issues.apache.org/jira/browse/HBASE-25006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17193189#comment-17193189 ] 

Clara Xiong commented on HBASE-25006:
-------------------------------------

https://github.com/apache/hbase/pull/2376

> 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
>            Priority: Major
>
> 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)