hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10422) ZeroCopyLiteralByteString.zeroCopyGetBytes has an unusable prototype and conflicts with AsyncHBase
Date Mon, 27 Jan 2014 19:28:43 GMT

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

Hudson commented on HBASE-10422:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #4858 (See [https://builds.apache.org/job/HBase-TRUNK/4858/])
HBASE-10422 ZeroCopyLiteralByteString.zeroCopyGetBytes has an unusable prototype and conflicts
with AsyncHBase (stack: rev 1561725)
* /hbase/trunk/hbase-protocol/src/main/java/com/google/protobuf/ZeroCopyLiteralByteString.java


> ZeroCopyLiteralByteString.zeroCopyGetBytes has an unusable prototype and conflicts with
AsyncHBase
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10422
>                 URL: https://issues.apache.org/jira/browse/HBASE-10422
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, Protobufs
>    Affects Versions: 0.98.0, 0.96.1, 0.96.1.1
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: 10422-Fix-the-signature-of-zeroCopyGetBytes-to-make-it-us.patch,
10422-Fix-the-signature-of-zeroCopyGetBytes-to-make-it-us.patch
>
>
> In HBASE-9868 the trick that AsyncHBase uses to extract byte arrays from protobufs without
copying them was ported, however the signature of {{zeroCopyGetBytes}} was changed for some
reason.  There are two problems with the changed signature:
> # It makes the helper function unusable since it refers to a package-private class.
> # It clashes with the signature AsyncHBase expects, thereby making user's life miserable
for those who pull in both AsyncHBase and HBase on their classpath.



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

Mime
View raw message