[
https://issues.apache.org/jira/browse/HBASE-16382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413545#comment-15413545
]
Anoop Sam John commented on HBASE-16382:
----------------------------------------
In master we have made sure the entire read path is Cell based. But in other
branches this may not be true. Assumption of KeyValue and/or KVUtil#ensureKV()
call might be there. Unless that is not solved, there is no point in using the
CellUtil methods. Here SQM is changed to use the new Cell impls. So in all
places where these cells flaw, it can work with these new Cells?
> backport useful tools in CellUtil to branch-1
> ---------------------------------------------
>
> Key: HBASE-16382
> URL: https://issues.apache.org/jira/browse/HBASE-16382
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: binlijin
> Attachments: HBASE-16382.patch
>
>
> KeyValueUtil.createLastOnRow and KeyValueUtil.createFirstOnRow will create
> new KeyValue and in the KeyValue constructor will do byte[] copy, and we can
> use the master version of CellUtil to eliminate the byte[] copy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)