[
https://issues.apache.org/jira/browse/HBASE-7320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881419#comment-13881419
]
stack commented on HBASE-7320:
------------------------------
I went through trying to be careful. Looks great to me. If I had done it I
would have missed loads of these... especially the likes of this:
{code}
- System.arraycopy(c.getTagsArray(), c.getTagsOffset(),
newKV.getBuffer(),
+ System.arraycopy(c.getTagsArray(), c.getTagsOffset(),
newKV.getTagsArray(),
newKV.getTagsOffset(), oldCellTagsLen);
{code}
Excellent [~lhofhansl]
> 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
> Assignee: stack
> Fix For: 0.99.0
>
> Attachments: 7320-simple.txt
>
>
> 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)