You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Azuryy Yu <az...@gmail.com> on 2013/06/04 03:35:51 UTC
HBase load balancer
Hi,
Does anybody can tell me how to configure load balancer to balance just one
table.
Thank.
Re: HBase load balancer
Posted by Jeremy Carroll <ph...@gmail.com>.
Need to update this badly. But in a quick pinch, this will load balance one
table.
https://github.com/phobos182/hadoop-hbase-tools/blob/master/hbase/hbase_table_balancer.rb
On Mon, Jun 3, 2013 at 7:50 PM, Azuryy Yu <az...@gmail.com> wrote:
> Thanks, Ted. I am using 0.94.7 now.
>
>
> On Tue, Jun 4, 2013 at 10:04 AM, Ted Yu <yu...@gmail.com> wrote:
>
> > bq. I expect load balancer work at table level
> >
> > In 0.94, load balancer performs per-table load balancing.
> >
> > On Mon, Jun 3, 2013 at 6:48 PM, Azuryy Yu <az...@gmail.com> wrote:
> >
> > > Hi JM,
> > > Thanks. actually I expect load balancer work at table level, not region
> > > level. does that possible here?
> > >
> > >
> > > On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <
> > > jean-marc@spaggiari.org
> > > > wrote:
> > >
> > > > Hi Azuryy,
> > > >
> > > > I don't think this is possible but you ca duplicate the default HBase
> > > > balancer and modify it so it just balance one table..
> > > >
> > > > But what do you want to only balance one?
> > > >
> > > > JM
> > > >
> > > > 2013/6/3 Azuryy Yu <az...@gmail.com>:
> > > > > Hi,
> > > > >
> > > > > Does anybody can tell me how to configure load balancer to balance
> > just
> > > > one
> > > > > table.
> > > > >
> > > > > Thank.
> > > >
> > >
> >
>
Re: HBase load balancer
Posted by Azuryy Yu <az...@gmail.com>.
Thanks, Ted. I am using 0.94.7 now.
On Tue, Jun 4, 2013 at 10:04 AM, Ted Yu <yu...@gmail.com> wrote:
> bq. I expect load balancer work at table level
>
> In 0.94, load balancer performs per-table load balancing.
>
> On Mon, Jun 3, 2013 at 6:48 PM, Azuryy Yu <az...@gmail.com> wrote:
>
> > Hi JM,
> > Thanks. actually I expect load balancer work at table level, not region
> > level. does that possible here?
> >
> >
> > On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org
> > > wrote:
> >
> > > Hi Azuryy,
> > >
> > > I don't think this is possible but you ca duplicate the default HBase
> > > balancer and modify it so it just balance one table..
> > >
> > > But what do you want to only balance one?
> > >
> > > JM
> > >
> > > 2013/6/3 Azuryy Yu <az...@gmail.com>:
> > > > Hi,
> > > >
> > > > Does anybody can tell me how to configure load balancer to balance
> just
> > > one
> > > > table.
> > > >
> > > > Thank.
> > >
> >
>
Re: HBase load balancer
Posted by Ted Yu <yu...@gmail.com>.
bq. I expect load balancer work at table level
In 0.94, load balancer performs per-table load balancing.
On Mon, Jun 3, 2013 at 6:48 PM, Azuryy Yu <az...@gmail.com> wrote:
> Hi JM,
> Thanks. actually I expect load balancer work at table level, not region
> level. does that possible here?
>
>
> On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org
> > wrote:
>
> > Hi Azuryy,
> >
> > I don't think this is possible but you ca duplicate the default HBase
> > balancer and modify it so it just balance one table..
> >
> > But what do you want to only balance one?
> >
> > JM
> >
> > 2013/6/3 Azuryy Yu <az...@gmail.com>:
> > > Hi,
> > >
> > > Does anybody can tell me how to configure load balancer to balance just
> > one
> > > table.
> > >
> > > Thank.
> >
>
Re: HBase load balancer
Posted by Azuryy Yu <az...@gmail.com>.
Thanks JM, I will read balancer code to get more.
On Tue, Jun 4, 2013 at 9:50 AM, Jean-Marc Spaggiari <jean-marc@spaggiari.org
> wrote:
> Take a look into the balancer code.
>
> It's called for each table. So if it's not a table you want to
> balance, just return an empty plan...
>
> JM
>
> 2013/6/3 Azuryy Yu <az...@gmail.com>:
> > Hi JM,
> > Thanks. actually I expect load balancer work at table level, not region
> > level. does that possible here?
> >
> >
> > On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org
> >> wrote:
> >
> >> Hi Azuryy,
> >>
> >> I don't think this is possible but you ca duplicate the default HBase
> >> balancer and modify it so it just balance one table..
> >>
> >> But what do you want to only balance one?
> >>
> >> JM
> >>
> >> 2013/6/3 Azuryy Yu <az...@gmail.com>:
> >> > Hi,
> >> >
> >> > Does anybody can tell me how to configure load balancer to balance
> just
> >> one
> >> > table.
> >> >
> >> > Thank.
> >>
>
Re: HBase load balancer
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Take a look into the balancer code.
It's called for each table. So if it's not a table you want to
balance, just return an empty plan...
JM
2013/6/3 Azuryy Yu <az...@gmail.com>:
> Hi JM,
> Thanks. actually I expect load balancer work at table level, not region
> level. does that possible here?
>
>
> On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <jean-marc@spaggiari.org
>> wrote:
>
>> Hi Azuryy,
>>
>> I don't think this is possible but you ca duplicate the default HBase
>> balancer and modify it so it just balance one table..
>>
>> But what do you want to only balance one?
>>
>> JM
>>
>> 2013/6/3 Azuryy Yu <az...@gmail.com>:
>> > Hi,
>> >
>> > Does anybody can tell me how to configure load balancer to balance just
>> one
>> > table.
>> >
>> > Thank.
>>
Re: HBase load balancer
Posted by Azuryy Yu <az...@gmail.com>.
Hi JM,
Thanks. actually I expect load balancer work at table level, not region
level. does that possible here?
On Tue, Jun 4, 2013 at 9:41 AM, Jean-Marc Spaggiari <jean-marc@spaggiari.org
> wrote:
> Hi Azuryy,
>
> I don't think this is possible but you ca duplicate the default HBase
> balancer and modify it so it just balance one table..
>
> But what do you want to only balance one?
>
> JM
>
> 2013/6/3 Azuryy Yu <az...@gmail.com>:
> > Hi,
> >
> > Does anybody can tell me how to configure load balancer to balance just
> one
> > table.
> >
> > Thank.
>
Re: HBase load balancer
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Azuryy,
I don't think this is possible but you ca duplicate the default HBase
balancer and modify it so it just balance one table..
But what do you want to only balance one?
JM
2013/6/3 Azuryy Yu <az...@gmail.com>:
> Hi,
>
> Does anybody can tell me how to configure load balancer to balance just one
> table.
>
> Thank.