Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Will BloomFilter still be cached if setCacheBlocks(false) per Get()?


Copy link to this message
-
Re: Will BloomFilter still be cached if setCacheBlocks(false) per Get()?
Tianying Chang 2014-04-18, 06:55
Ted, thanks, I am convinced that BLOOM is cached even when block cache
turned off per-family or per-query, because the code in
CompoundBloomFilter.java below. The highlighted "true" made sure the
cacheBlock is on for BLOOM

reader.readBlock(index.getRootBlockOffset(block),
            index.getRootBlockDataSize(block), true, true, false,
            BlockType.BLOOM_CHUNK);
On Thu, Apr 17, 2014 at 3:39 PM, Ted Yu <[EMAIL PROTECTED]> wrote: