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

Anoop Sam John commented on HBASE-11871:
----------------------------------------

Ya in exposed APIs we may have to? My aim here is to avoid the usage in core 
code.
One eg: is this one
Compactor#performCompaction()


> Avoid usage of KeyValueUtil#ensureKeyValue
> ------------------------------------------
>
>                 Key: HBASE-11871
>                 URL: https://issues.apache.org/jira/browse/HBASE-11871
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>
> Now we try to use diff impls of Cells (other than KV) in server side for 
> optimizations. (HBASE-11870  is one like this) Having code  
> KeyValueUtil#ensureKeyValue can be dangerous as it recreate the Cell and do 
> buffer copy. This is an umbrella issue.  Will raise small sub tasks in 
> specific areas and tackle this.



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

Reply via email to