hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Should compaction be triggered even if User periodically flushes
Date Fri, 05 Apr 2013 11:20:33 GMT
Hi Ram,

What do you think is wrong with the approach below?

Doing the compaction when the region is opened in another RS will
improve data locality.


2013/4/5 ramkrishna vasudevan <ramkrishna.s.vasudevan@gmail.com>:
> Hi devs
> If user periodically flushes the memstore we keep creating Store files.
>  Now if the number of store files  satisfies the compaction policy we dont
> do compaction.
> We print the msg saying compaction_requested=true but do not include into
> the compactsplitthread.
> But when the RS goes down and the region gets opened in another RS as part
> of postOpenDeployTasks we do compaction because the store file count has
> satisfied the compaction criteria.
> What could be the right approach here?
> Regards
> Ram

View raw message