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 2021/03/04 01:39:00 UTC

[jira] [Issue Comment Deleted] (HBASE-25625) StochasticBalancer CostFunctions needs a better way to evaluate resource distribution

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

Clara Xiong updated HBASE-25625:
--------------------------------
    Comment: was deleted

(was: after:  )

> StochasticBalancer CostFunctions needs a better way to evaluate resource distribution
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-25625
>                 URL: https://issues.apache.org/jira/browse/HBASE-25625
>             Project: HBase
>          Issue Type: Improvement
>          Components: Balancer, master
>            Reporter: Clara Xiong
>            Assignee: Clara Xiong
>            Priority: Major
>         Attachments: Screen Shot 2021-03-03 at 12.01.12 PM.png, Screen Shot 2021-03-03 at 12.08.58 PM.png, Screen Shot 2021-03-03 at 12.17.39 PM.png, Screen Shot 2021-03-03 at 12.27.14 PM.png
>
>
> Currently CostFunctions including RegionCountSkewCostFunctions, PrimaryRegionCountSkewCostFunctions and all load cost functions calculate how uneven the distribution by getting the sum of deviation per region server. TableSkewCostFunction uses the sum of the max region per server for all tables as the measure of unevenness. 
> This simple implementation works when the cluster is small. But when the cluster get larger with more region servers and regions, it doesn't work well with hot spots or a small number of unbalanced servers.
> The proposal is to use the standard deviation of the count per region server to capture the existence of a small portion of region servers with overwhelming load/allocation.
> Patch is in test and will follow shortly.



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