Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - What is in BlockCache?


Copy link to this message
-
Re: What is in BlockCache?
Anoop John 2013-05-20, 12:48
>So in BlockCache, does HBase store b1 and b2 separately, or store the
merged form?
store b1 and b2 separately..  Stores the blocks read from HFiles.

-Anoop-
On Mon, May 20, 2013 at 5:37 PM, yun peng <[EMAIL PROTECTED]> wrote:

> Hi, All,
> I am wondering what is exactly stored in BlockCache: Is it the same raw
> blocks as in HFile? or does HBase merge several raw blocks and store the
> merged block in cache to serve future queries?
>
> To be more specific, when a get operation entails loading of block b1 from
> hfile f1, and of block b2 from hfile f2. In order to produce the final
> result, the overlapping part of two blocks are merged. So in BlockCache,
> does HBase store b1 and b2 separately, or store the merged form?
>
> Thanks,
> Yun
>