I have a question about HBase balancer.

In release 0.90.x, it seems the balancer only regards the number of regions
and balance these regions into every regionserver.

If we have two tables (A and B) now, each have 100 regions.
Then, a extreme situation is:

RegionsServer1: 100 regions, which all belong to table A
RegionsServer2: 100 regions, which all belong to table B

If my application access table B heavy, the almost all opetations hit
RegionsServer2, it is not balance.

I have a idea about the balance policy:
(1) Firstly balance for each table
(2) Then, overall balance.


Schubert

Reply via email to