Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Disabling balancer permanently in HBase


+
Akshay Singh 2013-04-07, 22:14
Copy link to this message
-
Re: Disabling balancer permanently in HBase
Try setting the hbase.balancer.period to a very high number in you
hbase-site.xml:
http://hbase.apache.org/book.html#hbase.master.dns.nameserver

St.Ack
On Sun, Apr 7, 2013 at 3:14 PM, Akshay Singh <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am trying to permanently switch off the balancer in HBase, as my request
> distribution is not uniform across the data.
>
> I understand that this can be done by, setting balance_switch to false in
> hbase shell
>
> hbase(main):023:0> balance_switch false
>
> However, value of balance_switch is reset back to true.. every time I
> restart the HBase cluster (which cannot be avoided in my deployment
> scenario).
>
> So my question is : Is there a way to permanently/persistently disable the
> hbase balancer ? I could not find a property for this balance_switch.
>
> I though of one possible solution, which is to set 'hbase.balancer.period'
> property to '-1'.. but it does not seems to work.
>
> Looking for suggestions.
>
> Thanks,
> Akshay
+
Jean-Marc Spaggiari 2013-04-08, 00:35
+
Anoop Sam John 2013-04-08, 04:43
+
Akshay Singh 2013-04-08, 14:46