hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: Are minor compaction and major compaction different in HBase 0.92?
Date Thu, 26 Apr 2012 22:10:50 GMT

There is also a description of the compaction file-selection algorithm in



On 4/26/12 5:28 PM, "Robby" <robby.verkuylen@gmail.com> wrote:

>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