Shameless plug:
http://www.spaggiari.org/index.php/hbase/changing-the-hbase-default-loadbalancer#.U0KTsUU6toc;)
You don't need to recompile the entire HBase source code. Just your code,
then deploy it to the Master server and do the config in hbase-site.xml:
<property>
<name>hbase.master.loadbalancer.class</name>
<value>org.spaggiari.hbase.RegionServerPerformanceBalancer</value>
</property>
Feel free to ask more questions if required.
JM
2014-04-07 7:55 GMT-04:00 LEI Xiaofeng <[email protected]>:
> Hello,
>
> Does anybody know how to develop a custom LoadBalancer for HBase? What is
> the development process? And how to use my custom LoadBalancer? Do I need
> to re-compile the whole HBase source code?
>
>
>
> Thanks,
> Xiaofeng
>
>