You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2014/07/01 04:42:57 UTC
Re: about region split
By default, daughter regions are created on the same host as parent region.
Is load balancer turned on ?
Cheers
On Jun 30, 2014, at 7:29 PM, "sunww" <su...@asiainfo.com> wrote:
> Hi
>
> I'm using hbase0.96. I create a table, then insert some data.
>
> Then I find the table have 17 regions, but all the regions are on one
> Region Server.
>
> Is it normal?
>
>
>
> I think if region splits, then the two Daughters should be
> assigned to two Region Servers. Right?
>
>
>
> Thanks
>
答复: 答复: about region split
Posted by sunww <su...@asiainfo.com>.
hbase.regions.slop: Rebalance if any regionserver has average + (average * slop) regions.Default is 20% slop
I calculate average + (average * slop), and balancer conditions is indeed not met.
-----邮件原件-----
发件人: Ted Yu [mailto:yuzhihong@gmail.com]
发送时间: 2014年7月1日 11:15
收件人: user@hbase.apache.org
主题: Re: 答复: about region split
What happens if you issue 'balancer' command ?
Load balancer will not run if there're regions in transition.
You can check the tail of master log for details.
Cheers
On Mon, Jun 30, 2014 at 7:58 PM, sunww <su...@asiainfo.com> wrote:
> Yes, load balancer is turned on and hbase.regions.slop is default(0.2).
> So balancer is not be triggered.
>
> Maybye I should decrease hbase.regions.slop or use assign in shell
>
> -----邮件原件-----
> 发件人: Ted Yu [mailto:yuzhihong@gmail.com]
> 发送时间: 2014年7月1日 10:43
> 收件人: user@hbase.apache.org
> 抄送: <us...@hbase.apache.org>
> 主题: Re: about region split
>
> By default, daughter regions are created on the same host as parent region.
>
> Is load balancer turned on ?
>
> Cheers
>
> On Jun 30, 2014, at 7:29 PM, "sunww" <su...@asiainfo.com> wrote:
>
> > Hi
> >
> > I'm using hbase0.96. I create a table, then insert some data.
> >
> > Then I find the table have 17 regions, but all the regions are on one
> > Region Server.
> >
> > Is it normal?
> >
> >
> >
> > I think if region splits, then the two Daughters should be
> > assigned to two Region Servers. Right?
> >
> >
> >
> > Thanks
> >
>
>
Re: 答复: about region split
Posted by Ted Yu <yu...@gmail.com>.
What happens if you issue 'balancer' command ?
Load balancer will not run if there're regions in transition.
You can check the tail of master log for details.
Cheers
On Mon, Jun 30, 2014 at 7:58 PM, sunww <su...@asiainfo.com> wrote:
> Yes, load balancer is turned on and hbase.regions.slop is default(0.2).
> So balancer is not be triggered.
>
> Maybye I should decrease hbase.regions.slop or use assign in shell
>
> -----邮件原件-----
> 发件人: Ted Yu [mailto:yuzhihong@gmail.com]
> 发送时间: 2014年7月1日 10:43
> 收件人: user@hbase.apache.org
> 抄送: <us...@hbase.apache.org>
> 主题: Re: about region split
>
> By default, daughter regions are created on the same host as parent region.
>
> Is load balancer turned on ?
>
> Cheers
>
> On Jun 30, 2014, at 7:29 PM, "sunww" <su...@asiainfo.com> wrote:
>
> > Hi
> >
> > I'm using hbase0.96. I create a table, then insert some data.
> >
> > Then I find the table have 17 regions, but all the regions are on one
> > Region Server.
> >
> > Is it normal?
> >
> >
> >
> > I think if region splits, then the two Daughters should be
> > assigned to two Region Servers. Right?
> >
> >
> >
> > Thanks
> >
>
>
答复: about region split
Posted by sunww <su...@asiainfo.com>.
Yes, load balancer is turned on and hbase.regions.slop is default(0.2).
So balancer is not be triggered.
Maybye I should decrease hbase.regions.slop or use assign in shell
-----邮件原件-----
发件人: Ted Yu [mailto:yuzhihong@gmail.com]
发送时间: 2014年7月1日 10:43
收件人: user@hbase.apache.org
抄送: <us...@hbase.apache.org>
主题: Re: about region split
By default, daughter regions are created on the same host as parent region.
Is load balancer turned on ?
Cheers
On Jun 30, 2014, at 7:29 PM, "sunww" <su...@asiainfo.com> wrote:
> Hi
>
> I'm using hbase0.96. I create a table, then insert some data.
>
> Then I find the table have 17 regions, but all the regions are on one
> Region Server.
>
> Is it normal?
>
>
>
> I think if region splits, then the two Daughters should be
> assigned to two Region Servers. Right?
>
>
>
> Thanks
>