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

Lars Hofhansl commented on HBASE-7320:
--------------------------------------

Yes. I was thinking we start with:
# deprecate KeyValue.getBuffer(). Nobody should use this going forward
# fix all obvious cases with one large patch (i.e. at places where we should 
need the row, use getRowArray() instead of getBuffer())
# for all non-trivial cases (like the readers and writers) file individual 
jiras to fix them

#1 and #2 should be simple (albeit repetitive) tasks. #3 are the interesting 
issues.


> Replace calls to KeyValue.getBuffer with appropropriate calls to getRowArray, 
> getFamilyArray(), getQualifierArray, and getValueArray
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7320
>                 URL: https://issues.apache.org/jira/browse/HBASE-7320
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>
> In many places this is simple task of just replacing the method name.
> There, however, quite a few places where we assume that:
> # the entire KV is backed by a single byte array
> # the KVs key portion is backed by a single byte array
> Some of those can easily be fixed, others will need their own jiras.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to