On Sat, May 14, 2016 at 10:46 PM, Shushant Arora <[email protected]> wrote:
> 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. St.Ack > Thanks! >
