hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9049) Metastore should use TCompactProtocol as opposed to TBinaryProtocol
Date Wed, 10 Dec 2014 00:03:12 GMT

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

Prasanth Jayachandran updated HIVE-9049:
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks [~ashutoshc] for the review!

> 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
>             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
> https://code.google.com/p/thrift-protobuf-compare/wiki/BenchmarkingV2



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

Mime
View raw message