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

stack commented on HBASE-11874:
-------------------------------

bq. We deal with key as single buffer in HFileWriter and DBEs. 

Shouldn't we change HFW and DBE instead rather than go this route where we make 
a copy of Key w/ special-casing figuring if Interface is present or not?

> 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)

Reply via email to