hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Help needed on writing custom load balancer
Date Fri, 25 Jul 2014 02:46:59 GMT
For #2, I searched in 0.94 and trunk but didn't find call to
immediateAssignment
method except in tests.

For #3, please take a look at 17.3.1.1. under
http://hbase.apache.org/book.html#node.management.

Cheers


On Thu, Jul 24, 2014 at 5:45 PM, gomes <sankarmail@gmail.com> wrote:

>
> I have few questions, if you can help me that will be great.
>
> 1.
>
> I am writing my own custom load balancer against the LoadBalancer in Hbase
> 0.94.6.1. I want to place a group of regions from different tables on same
> host. I was able to achieve this with balanceCluster, and retainAssignment
> methods.
>
> When a region server goes down, I want to place the group of regions from
> that server to another server, not just one region. Currently, when a
> region
> server goes down, randomAssignment(servers) is called for every regions. So
> I dont have any clue, about for which region the call is made from
> randomAssignment method. If I have that information, probably I can cache
> that information, and find which group of regions should be assigned to
> which region server.
>
> If I can upgrade to Hbase 0.98, I can implement randomAssignment(region,
> servers). But it will take a long time, are there any other ways of
> achieving this in 0.94. If you have few pointers, that will be helpful to
> me.
>
> 2.
>
> What is the purpose of immediateAssignment method in LoadBalancer, I dont
> see that method is being used by Hbase source code?
>
> 3.
>
> Is there any way I can mark some hosts should not be assigned with any
> regions through Hbase, I want to prevent accidental startups of some
> servers.
>
> Thank you,
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Help-needed-on-writing-custom-load-balancer-tp4061939.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

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