Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Data blocks are not cached on read in Hbase0.94


Copy link to this message
-
Re: Data blocks are not cached on read in Hbase0.94
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.
> > >
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB