hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9032) Result.getBytes() returns null if backed by KeyValue array
Date Mon, 29 Jul 2013 05:01:50 GMT

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

Lars Hofhansl commented on HBASE-9032:
--------------------------------------

Sorry, -0 from me.
# This ties the caller to the internal workings of the Result object
# It cements this API even further for other user just starting with 0.94. This method should
have never been public.
# As you point out, this API is going away in 0.95
# There might be code out there relying on the current behavior (maybe for detecting whether
a Result object was deserialized from RPC)

Now, I am not blocking it. It won't do much harm I think. But I would prefer if somebody else
commits it. [~stack]?

                
> Result.getBytes() returns null if backed by KeyValue array
> ----------------------------------------------------------
>
>                 Key: HBASE-9032
>                 URL: https://issues.apache.org/jira/browse/HBASE-9032
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.94.9
>            Reporter: Aditya Kishore
>            Assignee: Aditya Kishore
>             Fix For: 0.94.11
>
>         Attachments: HBASE-9032.patch, HBASE-9032.patch, HBASE-9032.patch, HBASE-9032.patch
>
>
> This applies only to 0.94 (and earlier) branch.
> If the Result object was constructed using either of Result(KeyValue[]) or Result(List<KeyValue>),
calling Result.getBytes() returns null instead of the serialized ImmutableBytesWritable object.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message