hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Data blocks are not cached on read in Hbase0.94
Date Sat, 08 Sep 2012 20:26:12 GMT
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 <liulei412@gmail.com> 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 <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