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

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

bq.Or may be it is already computed in calling place and u want to avoid 
parsing it again? Same for writeRowExcludingCommonPrefix
Yes that is the reason. Better to pass the rlen to the API instead of parsing 
it again.

bq.Can the instance of check be limited in some util place? CellUtil?
Not sure I get this. The above code is already in CellUtil right?

> Ensure write paths work with ByteBufferedCells in case of compaction
> --------------------------------------------------------------------
>
>                 Key: HBASE-14832
>                 URL: https://issues.apache.org/jira/browse/HBASE-14832
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14832.patch
>
>
> Currently any cell coming out of offheap Bucketcache while compaction does a 
> copy using the getXXXArray() API since write path does not work with BBCells. 
> This JIRA is aimed at changing the write path to support BBCells so that this 
> copy is avoided.



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

Reply via email to