[
https://issues.apache.org/jira/browse/SPARK-24344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
L updated SPARK-24344:
----------------------
Comment: was deleted
(was: I have start the spark thrift server with 10015 already successfully and
connect to metastore,but i can not use beeline to connect to Spark thrift
server,so i am anxious which i have missed?
-------the process of sparkthrift server
[root@hadoopdashuju009154 bin]# netstat -an|grep 10015
tcp 0 0 10.2.9.154:10015 0.0.0.0:*
LISTEN
[root@hadoopdashuju009154 bin]#
----the hive-site.xml under the spark_home conf
<property>
<name>hive.server2.thrift.port</name>
<value>10015</value>
<description>
Port number of HiveServer2 Thrift interface. Can be overridden by
setting $HIVE_SERVER2_THRIFT_PORT
</description>
</property>
<property>
<name>hive.server2.thrift.bind.host</name>
<value>10.2.9.154</value>
<description>Bind host on which to run the HiveServer2 Thrift interface.
Can be overridden by setting $HIVE_SERVER2_THRIFT_BIND_HOST</description>
</property>
---and the error when i connect to spark thrift server with beeline
[root@hadoopdashuju009154 bin]# ./beeline -u
jdbc:hive2://hadoopdashuju009154.ppdgdsl.com:10015
scan complete in 2ms
Connecting to jdbc:hive2://hadoopdashuju009154.ppdgdsl.com:10015
18/05/23 17:28:57 INFO jdbc.Utils: Supplied authorities:
hadoopdashuju009154.ppdgdsl.com:10015
18/05/23 17:28:57 INFO jdbc.Utils: Resolved authority:
hadoopdashuju009154.ppdgdsl.com:10015
org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.getCanonicalHostName(Ljava/
lang/String;)Ljava/lang/String;
Beeline version 1.1.0-cdh5.14.0 by Apache Hive
0: jdbc:hive2://hadoopdashuju009154.ppdgdsl.c (closed)>
[root@hadoopdashuju009154 bin]#
-----so anyone can give me some suggestions?)
> Spark SQL Thrift Server issue
> -----------------------------
>
> Key: SPARK-24344
> URL: https://issues.apache.org/jira/browse/SPARK-24344
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: L
> Priority: Major
>
> I want to use spark thrift server to operate the data in hive, and i have
> start spark thrift server successfully with port 10015,and the hive thrift
> server port is 10000 which is default.But when i use beeline to connect spark
> thrift server,the error is below:
> !image-2018-05-22-18-15-55-200.png!
> The process of thrift server:
> !image-2018-05-22-18-17-01-271.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]