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

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

We are almost there once HBASE-12112 also goes in :)
The only left out will be in WALEdit#write  (I don't think this is getting used 
really)  and places in mapreduce package classes
mapreduce places actually we get KeyValues but because of API signature we have 
to do ensureKeyValue(Cell).  To change to Cell, we will have to change the 
mapred job map/reduce o/p value format. As these are public exposed we can not 
change directly. So I am not planing to work on this immediately.  

Over all in read and write paths we don't anymore use 
KeyValueUtil#ensureKeyValue()  and all in Cell also now. :)

> Avoid usage of KeyValueUtil#ensureKeyValue
> ------------------------------------------
>
>                 Key: HBASE-11871
>                 URL: https://issues.apache.org/jira/browse/HBASE-11871
>             Project: HBase
>          Issue Type: Umbrella
>          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