Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to load Hive data in to Spark-shell

Re: How to load Hive data in to Spark-shell

Champion

 now thats the reason it says table not found . mate 

Will dig more and comeback to u  . we almost narrow down to it 

Could you see if you have hive-site.xml & hdfs-site.xml in your spark conf folder 

 

/etc/spark/conf/

if not just do cp command and push those xml file  to /etc/spark/conf/ restart spark 

fire it again let us see . 

 

 

 

Re: How to load Hive data in to Spark-shell

Thank you Guna.

i link the confuguration file hive to spark as

ln -s /etc/hive/conf/hive-site.xml /etc/spark/conf/hive-site.xml

it started workig after restart only.

 

Re: How to load Hive data in to Spark-shell

Champion

Hurray ! :) @hadoopSparkZen

Re: How to load Hive data in to Spark-shell

New Contributor

@csgunaand @hadoopSparkZen  you guys have saved my day. Thanks to both of you :)

Highlighted

Re: How to load Hive data in to Spark-shell

New Contributor

Hi, I am also facing the same issue. Not able to load hive table into spark.

 

I tried to copy the xml files in spark conf folder. But its permission denied and I tries to change the permission for the folder also .That is also not working.

 

Using cloudera vm 5.12