You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Li Li <fa...@gmail.com> on 2014/04/24 05:20:52 UTC

how to split region in hbase shell?

I found one of 4 region server is heavy load than other. and I want to
split region manully.

from the web ui
name: vc2.url_db,,1398174763371.35a8599a5eb457b9e0210f86d8b6d19f.
region serverapp-hbase-1:60030
start key
end key \x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE
request 107360630

I want to split this region. I tried
hbase(main):004:0> split 'vc2.url_db'
,'\x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE'
0 row(s) in 0.8130 seconds
but nothing happens.

Re: how to split region in hbase shell?

Posted by Li Li <fa...@gmail.com>.
I am using 0.94.11

On Thu, Apr 24, 2014 at 11:48 AM, Ted Yu <yu...@gmail.com> wrote:
> Are you using 0.94.2 or newer release ?
>
> See HBASE-6643 Accept encoded region name in compacting/spliting region
> from shell
>
>
> On Wed, Apr 23, 2014 at 8:39 PM, Li Li <fa...@gmail.com> wrote:
>
>> because the start key is null(empty?) so I specify end key.
>> if specify table name only, what will happen?
>>
>> On Thu, Apr 24, 2014 at 11:36 AM, Ted Yu <yu...@gmail.com> wrote:
>> > Have you checked master log to see if the request was received ?
>> >
>> > What hbase version are you using ?
>> >
>> > From the command, looks like you were specifying end key. Can you try
>> > specifying table name only ?
>> >
>> > Cheers
>> >
>> >
>> > On Wed, Apr 23, 2014 at 8:20 PM, Li Li <fa...@gmail.com> wrote:
>> >
>> >> I found one of 4 region server is heavy load than other. and I want to
>> >> split region manully.
>> >>
>> >> from the web ui
>> >> name: vc2.url_db,,1398174763371.35a8599a5eb457b9e0210f86d8b6d19f.
>> >> region serverapp-hbase-1:60030
>> >> start key
>> >> end key \x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE
>> >> request 107360630
>> >>
>> >> I want to split this region. I tried
>> >> hbase(main):004:0> split 'vc2.url_db'
>> >> ,'\x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE'
>> >> 0 row(s) in 0.8130 seconds
>> >> but nothing happens.
>> >>
>>

Re: how to split region in hbase shell?

Posted by Ted Yu <yu...@gmail.com>.
Are you using 0.94.2 or newer release ?

See HBASE-6643 Accept encoded region name in compacting/spliting region
from shell


On Wed, Apr 23, 2014 at 8:39 PM, Li Li <fa...@gmail.com> wrote:

> because the start key is null(empty?) so I specify end key.
> if specify table name only, what will happen?
>
> On Thu, Apr 24, 2014 at 11:36 AM, Ted Yu <yu...@gmail.com> wrote:
> > Have you checked master log to see if the request was received ?
> >
> > What hbase version are you using ?
> >
> > From the command, looks like you were specifying end key. Can you try
> > specifying table name only ?
> >
> > Cheers
> >
> >
> > On Wed, Apr 23, 2014 at 8:20 PM, Li Li <fa...@gmail.com> wrote:
> >
> >> I found one of 4 region server is heavy load than other. and I want to
> >> split region manully.
> >>
> >> from the web ui
> >> name: vc2.url_db,,1398174763371.35a8599a5eb457b9e0210f86d8b6d19f.
> >> region serverapp-hbase-1:60030
> >> start key
> >> end key \x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE
> >> request 107360630
> >>
> >> I want to split this region. I tried
> >> hbase(main):004:0> split 'vc2.url_db'
> >> ,'\x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE'
> >> 0 row(s) in 0.8130 seconds
> >> but nothing happens.
> >>
>

Re: how to split region in hbase shell?

Posted by Li Li <fa...@gmail.com>.
because the start key is null(empty?) so I specify end key.
if specify table name only, what will happen?

On Thu, Apr 24, 2014 at 11:36 AM, Ted Yu <yu...@gmail.com> wrote:
> Have you checked master log to see if the request was received ?
>
> What hbase version are you using ?
>
> From the command, looks like you were specifying end key. Can you try
> specifying table name only ?
>
> Cheers
>
>
> On Wed, Apr 23, 2014 at 8:20 PM, Li Li <fa...@gmail.com> wrote:
>
>> I found one of 4 region server is heavy load than other. and I want to
>> split region manully.
>>
>> from the web ui
>> name: vc2.url_db,,1398174763371.35a8599a5eb457b9e0210f86d8b6d19f.
>> region serverapp-hbase-1:60030
>> start key
>> end key \x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE
>> request 107360630
>>
>> I want to split this region. I tried
>> hbase(main):004:0> split 'vc2.url_db'
>> ,'\x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE'
>> 0 row(s) in 0.8130 seconds
>> but nothing happens.
>>

Re: how to split region in hbase shell?

Posted by Ted Yu <yu...@gmail.com>.
Have you checked master log to see if the request was received ?

What hbase version are you using ?

>From the command, looks like you were specifying end key. Can you try
specifying table name only ?

Cheers


On Wed, Apr 23, 2014 at 8:20 PM, Li Li <fa...@gmail.com> wrote:

> I found one of 4 region server is heavy load than other. and I want to
> split region manully.
>
> from the web ui
> name: vc2.url_db,,1398174763371.35a8599a5eb457b9e0210f86d8b6d19f.
> region serverapp-hbase-1:60030
> start key
> end key \x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE
> request 107360630
>
> I want to split this region. I tried
> hbase(main):004:0> split 'vc2.url_db'
> ,'\x1F\xFE\x9B\xFA\x95\x91\xB7\xF0\x9FX\x83\xC9\xBFw\xBD\xDE'
> 0 row(s) in 0.8130 seconds
> but nothing happens.
>