You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/05/08 19:14:00 UTC

[jira] [Resolved] (HBASE-25790) NamedQueue 'BalancerRejection' for recent history of balancer skipping

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

Viraj Jasani resolved HBASE-25790.
----------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

Thanks for the contribution [~GeorryHuang].

> NamedQueue 'BalancerRejection' for recent history of balancer skipping
> ----------------------------------------------------------------------
>
>                 Key: HBASE-25790
>                 URL: https://issues.apache.org/jira/browse/HBASE-25790
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Balancer, master
>            Reporter: Zhuoyue Huang
>            Assignee: Zhuoyue Huang
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3
>
>         Attachments: image-2021-05-08-17-33-21-753.png
>
>
> [HBASE-24528|https://issues.apache.org/jira/browse/HBASE-24528] implements a NamedQueue that saved recent history of balancer decision details. Since we want to know exactly why the balancer is skipping to run, we need a new namedQueue called 'BalancerRejection' to hold the history of all details information why the balancer was rejected to run(skipping). LogEntry of 'BalancerRejection' should contain the information below:
> 1. Reason, to show why this time balancer was rejected
> Maybe look like:
>  
> {code:java}
> (cost1*multiplier1+cost2*multiplier2+...+costn*multipliern)/sumMultiplier=0.025 <= minCostNeedBalance(0.35)
> {code}
> 2. Detail cost factors and multipliers
> Maybe look like:
> {code:java}
> org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$RegionCountSkewCostFunction cost:0.0 multiplier:500.0
> org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$MoveCostFunction cost:0.0 multiplier:7.0
> org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$RackLocalityCostFunction cost:1.0 multiplier:15.0
> {code}
>  



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