thankyou
 

 


 

 

-----Original Message-----
From: Stack <[email protected]>
To: [email protected]
Sent: Fri, Jan 28, 2011 3:43 pm
Subject: Re: script to delete regions with no rows


The end key of one region must match the start key of the next so you

can't just remove the region from .META. and its directory -- if one

-- in HDFS. You'd need to adjust the start or end key on the region

previous or after to include the scope of the just removed region.



There is no script to do this that I know of.   Check the content of

bin/*.rb.  These scripts mess around with meta adding and removing

regions.  They might inspire. Also look at the Merge.java class.  See

how it edits .META. after merging two adjacent regions to create a new

region that spans the key space of the two old adjacent regions.



St.Ack







On Fri, Jan 28, 2011 at 12:29 PM, Venkatesh <[email protected]> wrote:

>

>

>

>  Is there a script?

> thanks

>

>

>


 

Reply via email to