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

Reply via email to