I have a question...
HStore ctor used by HRegion does: this.cacheConf = new CacheConfig(conf,
family); which calls CacheConfig.instantiateBlockCache(conf) and creates
BucketCache, LruBlockCache and DoubleBlockCache depending on config.
However, BucketCache in ctor, as well as CacheConfig when creating others,
uses StoreFile.DEFAULT_BLOCKSIZE_SMALL as block size (without getting from
config or anything).
DEFAULT_BLOCKSIZE_SMALL is described as:
// Make default block size for StoreFiles 8k while testing. TODO: FIX!
// Need to make it 8k for testing.
public static final int DEFAULT_BLOCKSIZE_SMALL = 8 * 1024;
Should it be 8k? Am I missing something? It's been like that forever (at
least the constant, didn't check the usage).
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.