You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Vincent Barat <vi...@ubikod.com> on 2010/02/08 17:23:02 UTC

major_compact progress report ?

Hello,

I'm trying to apply major_compact on some of my tables to enable GZ 
compression on the fly.

when I do:

$ major_compact 'table"

I don't see any info and I know how to follow the progress of the 
compaction. Is it instantaneous (I guess not)? Is there a log file 
where I can see the progress of the operation?

When I count the number of regions of my table, it is still the same 
before and after compression and compaction has been applied. Did I 
miss something here ?

Best regards,

Re: major_compact progress report ?

Posted by Jean-Daniel Cryans <jd...@apache.org>.
Vincent,

These calls (along with flush and split) are async and we do not explicitly
keep track of them (currently). If you use 0.20.3, you can have the
"fragmentation" metric which will lower down to zero on that table when the
major compaction is done (unless data keeps coming in).

Splits won't happen on that call unless you had some flushes recently which
were not compacted.

Hope that helps,

J-D

On Mon, Feb 8, 2010 at 8:23 AM, Vincent Barat <vi...@ubikod.com>wrote:

> Hello,
>
> I'm trying to apply major_compact on some of my tables to enable GZ
> compression on the fly.
>
> when I do:
>
> $ major_compact 'table"
>
> I don't see any info and I know how to follow the progress of the
> compaction. Is it instantaneous (I guess not)? Is there a log file where I
> can see the progress of the operation?
>
> When I count the number of regions of my table, it is still the same before
> and after compression and compaction has been applied. Did I miss something
> here ?
>
> Best regards,
>