hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlei liu <liulei...@gmail.com>
Subject Re: Data blocks are not cached on read in Hbase0.94
Date Sat, 08 Sep 2012 16:37:53 GMT
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 <yuzhihong@gmail.com>

> Which 0.94 release are you using ?
>
> Thanks
>
> On Sat, Sep 8, 2012 at 8:15 AM, jlei liu <liulei412@gmail.com> 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.
> >
>

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