How can I connect Spark from my local machine in Eclipse to a remote HiveServer?
Asked
Active
Viewed 181 times
1 Answers
0
Get a copy of the hive-site.xml
from the remote server, and add it to $SPARK_HOME/conf
Then, assuming Spark2, you need to use SparkSession.enableHiveSupport()
method, and any spark.sql()
queries should be able to communicate with Hive.
Also see my answer here

OneCricketeer
- 179,855
- 19
- 132
- 245