Re: Are minor compaction and major compaction different in HBase 0.92?

2012-04-27 Thread yonghu
rg > Sent: Wednesday, April 25, 2012 11:48 PM > Subject: Are minor compaction and major compaction different in HBase 0.92? > > 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 > differe

Re: Are minor compaction and major compaction different in HBase 0.92?

2012-04-26 Thread lars hofhansl
: user@hbase.apache.org Sent: Wednesday, April 25, 2012 11:48 PM Subject: Are minor compaction and major compaction different in HBase 0.92? 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

Re: Are minor compaction and major compaction different in HBase 0.92?

2012-04-26 Thread Doug Meil
There is also a description of the compaction file-selection algorithm in here... http://hbase.apache.org/book.html#regions.arch (section 8.7.5.5) On 4/26/12 5:28 PM, "Robby" wrote: >Yes, as per Lars' book: Minor compactions can be promoted to major >compactions if the minor would include

Re: Are minor compaction and major compaction different in HBase 0.92?

2012-04-26 Thread Robby
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 wrote: > I think the 0.92 code has a way to

Re: Are minor compaction and major compaction different in HBase 0.92?

2012-04-26 Thread Jean-Daniel Cryans
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 wrote: > Hello, > > My HBase version is 0.92.0. And I find that when I use minor > compaction and major c

Are minor compaction and major compaction different in HBase 0.92?

2012-04-25 Thread yonghu
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