[ 
https://issues.apache.org/jira/browse/SPARK-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tao Wang updated SPARK-12752:
-----------------------------
    Attachment: JDBCServer.log

> 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
>
>
> 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/hadoop.hadoop....@hadoop.com</value>
> </property>
> Later I will attach the log.



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

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

Reply via email to