hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hbase Balancer
Date Wed, 05 Mar 2014 21:20:19 GMT
Please take a look at the javadoc for balanceCluster() in:
src/main/java/org/apache/hadoop/hbase/master/DefaultLoadBalancer.java

The description is pretty detailed.

Cheers


On Wed, Mar 5, 2014 at 12:32 AM, divye sheth <divs.sheth@gmail.com> wrote:

> Hi,
>
> What are the factors that help balancer decide which region is to be moved
> when the HBASE balancer starts? I am using 0.94.2 version and aware of how
> the balancer functions on a table basis, but I cant find an answer to how
> does the balancer decide which region needs to be offlined and moved. Is it
> random, or it creates a list of regions sorted by the number of requests
> being handled by them and then move elements from the top and the bottom of
> it?
>
> Thanks
> Divye Sheth
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message