hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2767) Optionally use framed transport with metastore
Date Fri, 13 Apr 2012 03:09:46 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253072#comment-13253072
] 

Hudson commented on HIVE-2767:
------------------------------

Integrated in Hive-trunk-h0.21 #1370 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1370/])
    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 (Revision 1325446)

     Result = SUCCESS
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1325446
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java

                
> Optionally use framed transport with metastore
> ----------------------------------------------
>
>                 Key: HIVE-2767
>                 URL: https://issues.apache.org/jira/browse/HIVE-2767
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Travis Crawford
>            Assignee: Travis Crawford
>             Fix For: 0.10
>
>         Attachments: HIVE-2767.D2661.1.patch, HIVE-2767.D2661.2.patch, HIVE-2767.D2661.3.patch,
HIVE-2767.patch.txt, HIVE-2767_a.patch.txt
>
>
> 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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message