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

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

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

Viraj Jasani resolved HBASE-25006.
----------------------------------
    Fix Version/s: 2.3.2
                   2.4.0
                   1.7.0
                   3.0.0-alpha-1
     Hadoop Flags: Reviewed
       Resolution: Fixed

> 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
>            Assignee: Clara Xiong
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 1.7.0, 2.4.0, 2.3.2
>
>
> 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)