hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEI Xiaofeng" <le...@ihep.ac.cn>
Subject Re: [SPAM] Re: how to develop a custom LoadBalancer for HBase
Date Mon, 07 Apr 2014 12:24:11 GMT
Thanks for your reply,

So I just need to compile my own LoadBalancer.java? But how can I deploy it to the Master?
And how to write the <value> in hbase-site.xml? Is it a absolute path? 



> -----原始邮件-----
> 发件人: "Jean-Marc Spaggiari" <jean-marc@spaggiari.org>
> 发送时间: 2014年4月7日 星期一
> 收件人: user <user@hbase.apache.org>
> 抄送: 
> 主题: [SPAM] Re: how to develop a custom LoadBalancer for HBase
> 
> 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 <leixf@ihep.ac.cn>:
> 
> > 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
> >
> >


Mime
View raw message