|
|
-
Using split command in shell
Vivek Krishna 2011-03-22, 21:00
The command is `split table or region row`
How to find what the region row is? I tried the ones shown in node:60030 webpage. Does not work. Viv
-
Re: Using split command in shell
Jean-Daniel Cryans 2011-03-22, 21:36
Please define "does not work", does it give you an error message or it just doesn't split? If latter, maybe the split was rejected, depending on the file layout. You would find such message in the region server log.
J-D
On Tue, Mar 22, 2011 at 2:00 PM, Vivek Krishna <[EMAIL PROTECTED]> wrote: > The command is `split table or region row` > > How to find what the region row is? I tried the ones shown in node:60030 > webpage. Does not work. > > > Viv >
-
Re: Using split command in shell
Vivek Krishna 2011-03-22, 22:11
when I type
`split region_name`, I don't know what to use as region name? I tried entering the region name as seen in nodeName:60030 webpage, it does not split the region.
It outputs it completed in 1.234 seconds, but nothing happens.
What ever I type as region_name, it outputs completed in 1.x seconds and nothing happens.
Viv
On Tue, Mar 22, 2011 at 5:36 PM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote:
> Please define "does not work", does it give you an error message or it > just doesn't split? If latter, maybe the split was rejected, depending > on the file layout. You would find such message in the region server > log. > > J-D > > On Tue, Mar 22, 2011 at 2:00 PM, Vivek Krishna <[EMAIL PROTECTED]> > wrote: > > The command is `split table or region row` > > > > How to find what the region row is? I tried the ones shown in node:60030 > > webpage. Does not work. > > > > > > Viv > > >
-
Re: Using split command in shell
Stack 2011-03-22, 22:15
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
-
Re: Using split command in shell
Vivek Krishna 2011-03-22, 22:37
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 >
-
Re: Using split command in shell
Suraj Varma 2011-03-24, 22:35
It is the full region name - something like this: TestTable,0000262335,1300510101703.372a66d40705a4f2338b0219767602d3.
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 ...)
--Suraj 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 >> >
|
|