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

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

Do you have a specific use case why you need this?
The bytes object is only used for serialization. One could argue that 
getBytes() should not be public.

I'm not saying we should not fix it, but I'm curious as to why you would need 
it.

                
> 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
>
>
> 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

Reply via email to