hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: hbase block and columnfamily of a row
Date Mon, 16 May 2016 00:09:14 GMT
On Sat, May 14, 2016 at 10:46 PM, Shushant Arora <shushantarora09@gmail.com>

> can a hbase table with single column family hve its row spawned on
>  multiple blocks in a same HFile ?
Yes. A row could have many entries in it.. too many for a single block.

> Suppose there is only one hfile in that case is it possile a column family
> having 5-6 columns is spawned on multiple blocks ? or its always block is
> closed at max( 64k default or when all columns of a columnfamily for a
> single row fits in that block).
It is possible. It is usual in fact.

At an extreme a single entry/Cell could fill a whole block if it were 64k
or bigger in size. A single Cell will never span blocks.

A block is completed as soon as it exceeds the configured block size.
Blocks are rarely exactly 64k in size.


> Thanks!

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