[
https://issues.apache.org/jira/browse/HBASE-18026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011702#comment-16011702
]
Hudson commented on HBASE-18026:
--------------------------------
SUCCESS: Integrated in Jenkins build HBase-1.2-JDK8 #130 (See
[https://builds.apache.org/job/HBase-1.2-JDK8/130/])
Amend HBASE-18026 ProtobufUtil seems to do extra array copying (apurtell: rev
719ab32cc6910cf393ce235315190ffd8dd7a3c8)
* (edit)
hbase-protocol/src/main/java/com/google/protobuf/HBaseZeroCopyByteString.java
> ProtobufUtil seems to do extra array copying
> --------------------------------------------
>
> Key: HBASE-18026
> URL: https://issues.apache.org/jira/browse/HBASE-18026
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.3.2
> Reporter: Vincent Poon
> Assignee: Vincent Poon
> Priority: Minor
> Fix For: 1.4.0, 1.2.6, 1.3.2, 1.1.11
>
> Attachments: HBASE-18026.addendum.patch,
> HBASE-18026.branch-1.v1.patch, HBASE-18026.master.v1.patch
>
>
> In ProtobufUtil, the protobuf fields are copied into an array using
> toByteArray(). These are then passed into the KeyValue constructor which
> does another copy.
> It seems like we can avoid a copy here by using
> HBaseZeroCopyByteString#zeroCopyGetBytes() ?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)