[
https://issues.apache.org/jira/browse/HBASE-9032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717991#comment-13717991
]
Aditya Kishore commented on HBASE-9032:
---------------------------------------
Lars,
I agree that the underlying byte array object is implementation detail and
should not be public.
Unfortunately it is public and as a result some of our advanced users have been
using it in their applications. I am not privy to the exact use case but it
worked for them until it did not and we diagnosed this to be the reason. They
are aware that this is going to go away in next major version but it will be
some time before their applications will be migrated to the new APIs.
Thanks for having a look.
> 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