What Ted says and then some comments inline below.

On Mon, May 9, 2011 at 2:59 AM, Ophir Cohen <[email protected]> wrote:
>   3. Need to perform main compaction afterwards - that will affect
>   performance or even stop service (is that right???).
>

It will do the former.  It should nod to the latter.  Thats a problem
if it does.


> As my data sorted by the retention policies (customers and time) I thought
> of this option:
>
>   1. Split regions and create region with 'candidates to removed'.
>   2. Drop this region.
>
>
>   - Is it possible to drop region?
>   - Do you think it a good idea?
>

You could do this.  Downside is that its manual process -- is it? --
and other downside is that there are no tools currently to help you
with it; you'll have to craft them yourself.  Upside are that it
should not be hard.  You make sure that the region to remove is closed
on the hosting regionserver before you do anything.  You would then
remove its stores in the filesystem (i.e. you leave the region in
.META. -- you are removing its content in the fs but you need to have
the region closed when you do it else it'll go crazy when its removed
files go missing from under it).  You would then need to open the
region again.  The latter needs testing.  I'm not sure if it works.

St.Ack

Reply via email to