hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: On source code of File Section mechanism in minor compaction
Date Thu, 11 Apr 2013 15:00:44 GMT
Which release are you targeting ?

In trunk, take a look at RatioBasedCompactionPolicy which is the default:

public class RatioBasedCompactionPolicy extends CompactionPolicy {


On Thu, Apr 11, 2013 at 7:52 AM, yun peng <pengyunmomo@gmail.com> wrote:

> Hi, All
> I am asking the source code showing the file selection mechanism for minor
> compaction in HBase. I am aware that HBase minor compaction selects file
> based on size and generation time. But I can not find source file that
> realizes this mechanism in HBase. I am interested in the algorithm works
> behind it. Kindly point to me the source code and I appreciate it. Thanks.
> Regards
> Yun

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message