hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatesh <vramanatha...@aol.com>
Subject Re: hole in META
Date Wed, 30 Mar 2011 11:15:24 GMT


 Thanks Lucas..I'll give it a try



-----Original Message-----
From: Lukas <mr.bobukas@gmail.com>
To: user@hbase.apache.org
Sent: Wed, Mar 30, 2011 4:19 am
Subject: Re: hole in META

Sorry for any inconvenience. This was in reply of


On Wed, Mar 30, 2011 at 10:13 AM, Lukas <mr.bobukas@gmail.com> wrote:

> Hi there,

> It seems, that I had the same problem. AFAIK fix_table and hbck

> currently won't be able to fix this, so I wrote myself two small

> tools.

> A first one detects such loops in the meta table:

> https://gist.github.com/894031#file_h_base_region_loops.java

> If you specify '--fix', the loopy/duplicated regions are moved to a

> directory you specify and the meta is updated.

> The second one (https://gist.github.com/894031#file_add_records_from_region.java)

> takes one of a moved region as input and adds its content to the

> specified table, if there isn't already an entry with the same

> family:qualifier (this fitted my needs, as I only have one entry per

> family:qualifier).

> DISCLAIMER: Those tools were programmed rather quickly, so please make

> sure, that they serve your needs.


> If you have fixed your table, I would migrate as quickly as possible to 



> Best,

> Lukas



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message