Tao Wang created SPARK-12752:
--------------------------------
Summary: 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
Now Thrift Server can directly connect to database such as mysql to store its
metadata. Technically it should be fine to connect to Hive Metastore.
But when we try to do so with setting `hive.metastore.uris` to thrift url of
Hive Metastore and found exception message in log while execute "create table
t1 (name string)".
It is in secure mode and the new added configuration 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>
Later I will attach the log.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]