Jason Huang 2013-09-20, 20:06
Premal Shah 2013-09-20, 20:15
So this should be set at /conf/hbase-site.xml?
On Fri, Sep 20, 2013 at 4:15 PM, Premal Shah <[EMAIL PROTECTED]>wrote:
> <!-- Disabling automatic major compaction -->
> On Fri, Sep 20, 2013 at 1:06 PM, Jason Huang <[EMAIL PROTECTED]>
> > Hello,
> > The hbase book at apache website has the following statement about
> > controlling major compaction: "A common administrative technique is to
> > manage major compactions manually, rather than letting HBase do it. By
> > default,HConstants.MAJOR_COMPACTION_PERIOD is one day and major
> > may kick in when you least desire it - especially on a busy system. To
> > off automatic major compactions set the value to 0."
> > So... If we choose to let HBase do it, is there a way we can set to let
> > HBase do the major compaction at a certain time of the day? Or is it
> > and could be at any time of the day?
> > And if we set HConstants.MAJOR_COMPACTION_PERIOD to 0, that means we have
> > to kick off major compaction manually through HBase shell or write a
> > to enter shell and execute the major compaction at a certain time? Also,
> > where should I set HConstants.MAJOR_COMPACTION_PERIOD = 0? In
> > /conf/hbase-site.xml?
> > thanks!
> > Jason
> Premal Shah.
Premal Shah 2013-09-20, 20:34