[
https://issues.apache.org/jira/browse/SPARK-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin closed SPARK-12752.
-------------------------------
Resolution: Not A Problem
> 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/[email protected]</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: [email protected]
For additional commands, e-mail: [email protected]