hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby <robby.verkuy...@gmail.com>
Subject Re: Are minor compaction and major compaction different in HBase 0.92?
Date Thu, 26 Apr 2012 21:28:51 GMT
Yes, as per Lars' book: Minor compactions can be promoted to major compactions if the minor
would include all storefiles and there are less then the configured maximum amount of storefiles
per compaction.

On 26 apr. 2012, at 20:54, Jean-Daniel Cryans <jdcryans@apache.org> wrote:

> I think the 0.92 code has a way to promote minor into major
> compactions, feel free to checkout the code (also it should be present
> in your logs).
> J-D
> On Wed, Apr 25, 2012 at 11:48 PM, yonghu <yongyong313@gmail.com> wrote:
>> Hello,
>> My HBase version is 0.92.0. And I find that when I use minor
>> compaction and major compaction to compact a table, there are no
>> differences. In the minor compaction, it will remove the deleted cells
>> and discard the exceeding data versions which should be the task of
>> major compaction. I wonder if these two compaction can do the same
>> work, why do we need both?  I mean the minor compaction has already
>> done the job for major compaction, why we still need major compaction?
>> Regards!
>> Yong

View raw message