[ 
https://issues.apache.org/jira/browse/HBASE-16438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607676#comment-15607676
 ] 

ramkrishna.s.vasudevan commented on HBASE-16438:
------------------------------------------------

I am just seeing Anoop's reply above. Yes as he says if we dont write the chunk 
id in the cell then we have to have keep references onheap. So anyway we will 
create a new cell that has chunk id as the reference but in case of offheap 
write path any new onheap reference is going to have an impact for us. So in 
such cases if the chunkid is embedded in the cell then we could even avoid that.
But if the same cell is going to be created onheap then having chunkid in the 
byte[] or as reference is not of much impact to us becuase anyway we need 8 
bytes extra ( in case chunk id is long). But for an offheap cell this 8 bytes 
is going to be allocated offheap only and nothing onheap.

> Create a cell type so that chunk id is embedded in it
> -----------------------------------------------------
>
>                 Key: HBASE-16438
>                 URL: https://issues.apache.org/jira/browse/HBASE-16438
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>
> For CellChunkMap we may need a cell such that the chunk out of which it was 
> created, the id of the chunk be embedded in it so that when doing flattening 
> we can use the chunk id as a meta data. More details will follow once the 
> initial tasks are completed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to