You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2015/03/06 19:27:38 UTC

[jira] [Updated] (HIVE-9885) HBase metastore protobufs need to check hasX() functions for values that are not auto set in serialization [hbase-metastore branch]

     [ https://issues.apache.org/jira/browse/HIVE-9885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates updated HIVE-9885:
-----------------------------
    Attachment: HIVE-9885.patch

Fixed HBaseUtils.deserialize* methods to check if values were set in the protocols buffers before reading them.

> HBase metastore protobufs need to check hasX() functions for values that are not auto set in serialization [hbase-metastore branch]
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-9885
>                 URL: https://issues.apache.org/jira/browse/HIVE-9885
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: hbase-metastore-branch
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-9885.patch
>
>
> The protobuf deserialization code added in HIVE-9783 optimistically assumes all fields in the protocol buffers are set.  However, the serialization code only sets fields if they are not null in the corresponding thrift objects.  This causes issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)