hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Kishore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9032) Result.getBytes() returns null if backed by KeyValue array
Date Tue, 23 Jul 2013 23:34:48 GMT

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

Aditya Kishore commented on HBASE-9032:
---------------------------------------

Attached is a simple patch which serializes the KeyValue array into ImmutableBytesWritable
if the former is not null while later is.

Not submitting patch to Hadoop QA since this is not intended for 0.95 or trunk.
                
> 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.10
>
>         Attachments: 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