You're right. Default sloppiness is 20%:
    this.slop = conf.getFloat("hbase.regions.slop", (float) 0.2);
src/main/java/org/apache/hadoop/hbase/master/DefaultLoadBalancer.java

Meaning, region count on any server can be as far as 20% from average
region count.

You can tighten sloppiness.

On Tue, Feb 19, 2013 at 7:40 PM, Liu, Raymond <raymond....@intel.com> wrote:

> Hi
>
> I do call balancer, while it seems it doesn't work. Might due to this
> table is small and overall region number difference is within threshold?
>
> > -----Original Message-----
> > From: Jean-Marc Spaggiari [mailto:jean-m...@spaggiari.org]
> > Sent: Wednesday, February 20, 2013 10:59 AM
> > To: user@hbase.apache.org
> > Subject: Re: Is there any way to balance one table?
> >
> > Hi Liu,
> >
> > Why did not you simply called the balancer? If other tables are already
> > balanced, it should not touch them and will only balance the table which
> is not
> > balancer?
> >
> > JM
> >
> > 2013/2/19, Liu, Raymond <raymond....@intel.com>:
> > > I choose to move region manually. Any other approaching?
> > >
> > >>
> > >> 0.94.1
> > >>
> > >> Any cmd in shell? Or I need to change balance threshold to 0 an run
> > >> global balancer cmd in shell?
> > >>
> > >>
> > >>
> > >> Best Regards,
> > >> Raymond Liu
> > >>
> > >> > -----Original Message-----
> > >> > From: Ted Yu [mailto:yuzhih...@gmail.com]
> > >> > Sent: Wednesday, February 20, 2013 9:09 AM
> > >> > To: user@hbase.apache.org
> > >> > Subject: Re: Is there any way to balance one table?
> > >> >
> > >> > What version of HBase are you using ?
> > >> >
> > >> > 0.94 has per-table load balancing.
> > >> >
> > >> > Cheers
> > >> >
> > >> > On Tue, Feb 19, 2013 at 5:01 PM, Liu, Raymond
> > >> > <raymond....@intel.com>
> > >> > wrote:
> > >> >
> > >> > > Hi
> > >> > >
> > >> > > Is there any way to balance just one table? I found one of my
> > >> > > table is not balanced, while all the other table is balanced. So
> > >> > > I want to fix this table.
> > >> > >
> > >> > > Best Regards,
> > >> > > Raymond Liu
> > >> > >
> > >> > >
> > >
>

Reply via email to