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

Switch to Threaded View
HBase >> mail # user >> Using split command in shell

Copy link to this message
Re: Using split command in shell
It is the full region name - something like this:

If you go to the master web UI and click on the table name and you
will see all the regions for that table. It is the string under Table
Regions / Name column.

The other thing is: this operation is async. So, the split command
will return almost immediately and the split operation is done async
... so, it may not reflect on your screen immediately.

I suspect that your "asdf" string showing split regions is just a
previous correct split operation succeeding asynchronously (i.e. cause
& effect confusion ...)

On Tue, Mar 22, 2011 at 3:37 PM, Vivek Krishna <[EMAIL PROTECTED]> wrote:
> When I entered the row key, it did nothing. Even the logs weren't helpful.
>  When I typed arbitrary "asdf" as region row it started splitting.
> To clarify, my question was what is defined as a "region row", is it the
> first key of the region? the last key? any key in the region? or a combo of
> table name +region ?
> Viv
> On Tue, Mar 22, 2011 at 6:15 PM, Stack <[EMAIL PROTECTED]> wrote:
>> On Tue, Mar 22, 2011 at 3:11 PM, Vivek Krishna <[EMAIL PROTECTED]>
>> wrote:
>> > `split region_name`,     I don't know what to use as region name?
>> hbase(main):001:0> help 'split'
>> Split table or pass a region row to split individual region
>> > I tried
>> > entering the region name as seen in nodeName:60030 webpage, it does not
>> > split the region.
>> >
>> You checked the regionserver log and/or master log?  It did nothing?
>> No exception?
>> St.Ack