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

Lars Hofhansl commented on HBASE-10944:
---------------------------------------

How about we get rid of ensureKeyValue? Right now we're in a bad mess: We have 
Cells, but not quite, and in important places we still assume Cells backed by a 
single byte[], and the we force the single byte[] all over the place.

I'll still vote for getting rid of getBuffer() there should be absolutely no 
requirement to have a Cell backed by a single byte[].


> Remove all kv.getBuffer() and kv.getRow() references existing in the code
> -------------------------------------------------------------------------
>
>                 Key: HBASE-10944
>                 URL: https://issues.apache.org/jira/browse/HBASE-10944
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0, 1.5.0
>
>
> kv.getRow() and kv.getBuffers() are still used in places to form key byte[] 
> and row byte[].  Removing all such instances including testcases will make 
> the usage of Cell complete.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to