hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <>
Subject [jira] [Commented] (HIVE-9049) Metastore should use TCompactProtocol as opposed to TBinaryProtocol
Date Wed, 07 Jan 2015 22:08:35 GMT


Brock Noland commented on HIVE-9049:

[~ashutoshc] [~prasanth_j],

I understand the reasoning for this change. However this breaks previous versions of clients
from talking with this version of Hive including any custom clients using the thrift API directly.
Of course there are good reasons to make incompatible changes but I am not sure this is the
time. Perhaps we should revert this change or making it configurable, defaulting to off?


> Metastore should use TCompactProtocol as opposed to TBinaryProtocol
> -------------------------------------------------------------------
>                 Key: HIVE-9049
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.15.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Minor
>             Fix For: 0.15.0
>         Attachments: HIVE-9049.1.patch
> Hive metastore server/client uses TBinaryProtocol. Although binary protocol is better
than simple text/json protocol it is not as effective as TCompactProtocol. TCompactProtocol
is typically more efficient in terms of space and processing (CPU). As seen from this benchmark
TCompactProtocol is better in almost all aspect when compared to TBinaryProtocol

This message was sent by Atlassian JIRA

View raw message