You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/07/24 01:32:48 UTC
[jira] [Commented] (HBASE-9032) Result.getBytes() returns null if
backed by KeyValue array
[ https://issues.apache.org/jira/browse/HBASE-9032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717762#comment-13717762 ]
Ted Yu commented on HBASE-9032:
-------------------------------
{code}
+ } catch (IOException e) { /* should never happen */ }
{code}
Add a log in case of catching IOException ?
If you reverse the condition for if statement, you should be able to save some indentation.
> 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