hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Pi ...@idle.li>
Subject Re: Clear Block Cache
Date Thu, 14 Jun 2012 17:56:05 GMT
Take a look at setCacheBlocks.

"Set whether blocks should be cached for this Scan.

This is true by default. When true, default settings of the table and
family are used (this will never override caching blocks if the block cache
is disabled for that family or entirely)"


On Thu, Jun 14, 2012 at 10:39 AM, Kevin <kevin.macksamie@gmail.com> wrote:

> Hello,
> I would like to get timing results for some large, rare scans, but each
> reading test keeps performing better because of the heap's LRU block cache.
> Is there a way (possibly through the API) that I can clear the block cache
> to get timing results that mimic cold read times? I tried
> HTable.clearRegionCache() but that didn't seem to do anything in terms of
> making the scans taking longer.
> Thanks.

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