Re: copy_table.rb doesn't work

2011-06-13 Thread James Hammerton
On Sat, Jun 11, 2011 at 5:33 PM, Stack wrote: > On Sat, Jun 11, 2011 at 6:57 AM, James Hammerton > wrote: > > We've now come up against another problem, namely that on our cluster > > attempts to merge regions don't seem to do anything. I tested my merging > &

Re: copy_table.rb doesn't work

2011-06-10 Thread James Hammerton
er. In both cases you'll have to use the > add_table.rb script. > > J-D > > On Fri, Jun 10, 2011 at 10:40 AM, James Hammerton > wrote: > > Hi, > > > > I did some digging around in the HBase source and found that HLogEdit > last > > existed in version

Re: copy_table.rb doesn't work

2011-06-10 Thread James Hammerton
ked script actually doing anything useful? James On Fri, Jun 10, 2011 at 11:19 AM, James Hammerton < james.hammer...@mendeley.com> wrote: > [Re-sending as I'm not sure this got through] > > Hi, > > Before trying to merge regions on a table in our live database we decided &g

copy_table.rb doesn't work

2011-06-10 Thread James Hammerton
d at the latest version of the copy_table.rb script and it also references both HLogEdit and HConstants::COL_REGIONINFO_ ARRAY... Any ideas how to fix this? Regards, James -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited | London, UK |

copy_table.rb doesn't work in 0.20.6

2011-06-09 Thread James Hammerton
d it also references both HLogEdit and HConstants::COL_REGIONINFO_ARRAY... Any ideas how to fix this? Regards, James -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited | London, UK | www.mendeley.com Registered in England and Wales | Company Number 6419015

Re: How to find encoded name for a region?

2011-06-08 Thread James Hammerton
Scratch that. You mean alter the find_overlapping_regions script to use .META. to find the overlapping regions don't you? James On Wed, Jun 8, 2011 at 6:01 PM, James Hammerton < james.hammer...@mendeley.com> wrote: > Thanks Stack, > > I take it you mean get hold of check_m

Re: How to find encoded name for a region?

2011-06-08 Thread James Hammerton
urns around and reads meta), read > .META. directly and get the HRIs yourself. > > St.Ack > > On Wed, Jun 8, 2011 at 9:51 AM, James Hammerton > wrote: > > Hi, > > > > I've checked /usr/lib/hbase/bin and it doesn't have check_meta.rb. > > > >

Re: How to find encoded name for a region?

2011-06-08 Thread James Hammerton
pt to output the encode name instead of the end > key > > in the triples describing the region names or looking up the encoded > names > > from the triples in the merging script. > > > > Sure. Sounds right. > > St.Ack > -- James Hammerton | Senior Data Min

Re: How to find encoded name for a region?

2011-06-08 Thread James Hammerton
mes from the triples in the merging script. Regards, James On Wed, Jun 8, 2011 at 5:27 PM, Stack wrote: > On Wed, Jun 8, 2011 at 9:22 AM, James Hammerton > wrote: > > Given the tableName, startKey and endKey for a region how do I get hold > of > > the encodedName? &g

How to find encoded name for a region?

2011-06-08 Thread James Hammerton
s the tableName,startKey,encodedName format. It's not clear how I obtain the encoded name. We have several tens of overlapping regions to merge in our tables... Regards, James -- James Hammerton | Senior Data Mining Engineer www.mendeley.com/profiles/james-hammerton Mendeley Limited |