Hi there, for background on the file selection algorithm for compactions, see...
http://hbase.apache.org/book.html#regions.arch 9.7.5.5. Compaction On 9/23/12 9:59 AM, "Monish r" <monishs...@gmail.com> wrote: >Hi guys, > >i would like to clarify the following regarding Major Compaction > >1) When TTL is set for a column family and major compaction is triggered >by >user > >- Does it act on the region only when *time since last major compaction is >> TTL.* >* >* > >2) Does major compaction go through the index of a region to find out that >there is data to be acted upon and then start the rewriting ( or ) does >it >rewrite without any pre checks about the data inside the region ? > >3) If major compaction for a region results in a empty region , does the >empty region get deleted or left as such ? > >Regards, >R.Monish