Support Questions

Find answers, ask questions, and share your expertise

Read hive table from spark

avatar
New Contributor

Hive is present on different cluster and spark(Stand Alone) is installed on different machine.

In spark machine hadoop is not installed so, no direct access to hdfs. 

In this scenario how can i connect to hive using spark. What are the available ways?

1 REPLY 1

avatar
Master Collaborator

Hi @Nikhil44 

First of all, Cloudera will not support Standalone Spark installation.

To access any hive table, we need a hive-site.xml and Hadoop-related configuration files like (core-site.xml, hdfs-site.xml and yarn-site.xml)