You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2014/12/09 03:14:12 UTC
[jira] [Updated] (HIVE-9049) Metastore should use TCompactProtocol
as opposed to TBinaryProtocol
[ https://issues.apache.org/jira/browse/HIVE-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth Jayachandran updated HIVE-9049:
----------------------------------------
Attachment: HIVE-9049.1.patch
Uploading initial patch to trigger HIVE QA.
I am not really sure if we need strict read/write flags of TBinaryProtocol for version matching. [~ashutoshc] Can you plz take a look at this small patch?
> Metastore should use TCompactProtocol as opposed to TBinaryProtocol
> -------------------------------------------------------------------
>
> Key: HIVE-9049
> URL: https://issues.apache.org/jira/browse/HIVE-9049
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 0.15.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Minor
> 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
> https://code.google.com/p/thrift-protobuf-compare/wiki/BenchmarkingV2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)