That's right. Please note the default value for this parameter: public static final boolean DEFAULT_BLOCKCACHE = true;
On Sat, Sep 8, 2012 at 9:37 AM, jlei liu <[email protected]> wrote: > Hbase0.94.1 version. > > I read the HFileReaderV2.readBlock code again,when I set > HColumnDescriptor.setBlockCacheEnabled is true, > data blocks and index block are all cached, if I set > HColumnDescriptor.setBlockCacheEnabled is false, > only index blocks are cached, that right? > > 2012/9/9 Ted Yu <[email protected]> > > > Which 0.94 release are you using ? > > > > Thanks > > > > On Sat, Sep 8, 2012 at 8:15 AM, jlei liu <[email protected]> wrote: > > > > > I use HBase0.94 version, when reading data only index blocks are > cached, > > > the data blocks are not cached, is right? If right, why don't cache > the > > > data blocks on read? > > > > > > > > > LiuLei, > > > Thanks. > > > > > >
