[
https://issues.apache.org/jira/browse/HBASE-11874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119325#comment-14119325
]
Anoop Sam John commented on HBASE-11874:
----------------------------------------
Went this way as it looks easier way. Normally in the write path, we could get
Cells having single backing buffer for key area(?) Read case may be diff as
we may be dealing with encoded Cells.
I agree with you regarding the cleanest way as u suggest. This is doable I
believe and done a small study on that too before.
With the situation in HBASE-11870, I wanted to have a Cell impl in write path,
with KV part backed by one buffer (the existing Cell) and tags alone in another
buffer.
Let me check with change in impl way in HFW and DBEs (other than PrefixTree).
Patch will be coming in in a day.
Thanks Stack...
> Support Cell to be passed to StoreFile.Writer rather than KeyValue
> ------------------------------------------------------------------
>
> Key: HBASE-11874
> URL: https://issues.apache.org/jira/browse/HBASE-11874
> Project: HBase
> Issue Type: Sub-task
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 0.99.0, 2.0.0
>
> Attachments: HBASE-11874.patch, HBASE-11874_V2.patch
>
>
> This is the in write path and touches StoreFile.Writer, HFileWriter ,
> HFileDataBlockEncoder and different DataBlockEncoder impl.
> We will have to avoid KV#getBuffer() KV#getKeyOffset/Length() calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)