/[Apache-SVN]
ViewVC logotype

Revision 1325446


Jump to revision: Previous Next
Author: hashutosh
Date: Thu Apr 12 18:57:52 2012 UTC (12 years ago)
Changed paths: 4
Log Message:
HIVE-2767 [jira] Optionally use framed transport with metastore
(Travis Crawford via Ashutosh Chauhan)

Summary:
Add support for optionally using the thrift framed transport, enabling
integration with environments where that is necessary.

Users may want/need to use thrift's framed transport when communicating with the
Hive MetaStore. This patch adds a new property
hive.metastore.thrift.framed.transport.enabled that enables the framed transport
(defaults to off, aka no change from before the patch). This property must be
set for both clients and the HMS server.

It wasn't immediately clear how to use the framed transport with SASL, so as
written an exception is thrown if you try starting the server with both options.
If SASL and the framed transport will indeed work together I can update the
patch (although I don't have a secured environment to test in).

Test Plan:
Tested locally that client and server can connect, both with and
without the flag. Tests pass.

Reviewers: JIRA, ashutoshc

Reviewed By: ashutoshc

Differential Revision: https://reviews.facebook.net/D2661

Changed paths

Path Details
Directoryhive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java modified , text changed
Directoryhive/trunk/conf/hive-default.xml.template modified , text changed
Directoryhive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java modified , text changed
Directoryhive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26