You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wojciech Indyk (JIRA)" <ji...@apache.org> on 2016/03/24 16:48:25 UTC

[jira] [Comment Edited] (SPARK-12752) Can Thrift Server connect to Hive Metastore?

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

Wojciech Indyk edited comment on SPARK-12752 at 3/24/16 3:47 PM:
-----------------------------------------------------------------

For HBase-handler I've created an another issue: SPARK-14115


was (Author: woj_in):
For HBase-handler I've created another issue: SPARK-14115

> Can Thrift Server connect to Hive Metastore?
> --------------------------------------------
>
>                 Key: SPARK-12752
>                 URL: https://issues.apache.org/jira/browse/SPARK-12752
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Tao Wang
>         Attachments: JDBCServer.log
>
>
> Before we use Thrift Server directly connecting to database such as mysql to store its metadata. Now we wanna read data stored by Hive so we try to connect to Hive Metastore with Thrift Server.
> In non-secure mode it is ok with me by setting `hive.metastore.uris` to thrift url of Hive Metastore. But when testing it in secure cluster we met some problem kerberos related.
> The error message is showed as attached log. The sql statement is "create table t1 (name string)" which is handled by HiveQl.
> The new added configuration for security is like: 
> <property>
> <name>hive.metastore.uris</name>
> <value>thrift://9.96.1.116:21088,thrift://9.96.1.115:21088,thrift://9.96.1.114:21088</value>
> </property>
> <property>
> <name>hive.metastore.sasl.enabled</name>
> <value>true</value>
> </property>
> <property>
> <name>hive.metastore.kerberos.principal</name>
> <value>hive/hadoop.hadoop.com@HADOOP.COM</value>
> </property>
> I don't understand too much about Hive. But technically I think it should work with this mode. Please guys who has experience can give some advise. Thanks :)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org