You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Rahul Agarkar (Jira)" <ji...@apache.org> on 2023/01/30 05:48:00 UTC

[jira] [Work started] (HBASE-27389) Add cost function in balancer to consider the cost of building bucket cache before moving regions

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

Work on HBASE-27389 started by Rahul Agarkar.
---------------------------------------------
> Add cost function in balancer to consider the cost of building bucket cache before moving regions
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-27389
>                 URL: https://issues.apache.org/jira/browse/HBASE-27389
>             Project: HBase
>          Issue Type: Task
>          Components: Balancer
>            Reporter: Rahul Agarkar
>            Assignee: Rahul Agarkar
>            Priority: Major
>
> HBase currently uses StochasticLoadBalancer to determine the cost of moving the regions from one RS to another. Each cost functions give a result between 0 and 1, with 0 being the lowest cost and 1 being the cost. The balancer iterates through each cost function and comes up with the total cost. Now, the balancer will create multiple balancing plans on random actions and try to compute the cost of each plan as if they are executed, if the cost of the plan is less than the initial cost, the plan is executed.
> Implement a new "PrefetchCacheCostFunction" which takes into account if the region is fully cached and return the highest cost if the plan suggests moving this region.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)