Ramon:
See http://hbase.apache.org/book.html#compaction for description on
compaction file selection.

Cheers


On Fri, Feb 21, 2014 at 4:38 AM, yonghu <[email protected]> wrote:

> Before you want to trigger major compaction, let's first explain why do we
> need major compaction. The major compaction will cause
> 1. delete the data which is masked by tombstone;
> 2. delete the data which has expired ttl;
> 3. compact several small hfiles into a single larger one.
>
> I didn't quite understand what do you mean by "use num of storefiles", why
> this?
>
>
> On Fri, Feb 21, 2014 at 10:50 AM, Ramon Wang <[email protected]> wrote:
>
> > Hi Guys
> >
> > We disabled the automatically major compaction setting in our HBase
> > cluster, so we want to something which can tell us when should we do
> major
> > compaction, we were thinking to use "num of storefiles", but we cannot
> find
> > any APIs or any JMX settings which can be used for it, please share us
> some
> > ideas on how to do it, thanks in advance.
> >
> > Cheers
> > Ramon
> >
>

Reply via email to