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.

Reply via email to