Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

error in livy - org.apache.hadoop.hive.ql.metadata.HiveException

avatar
Expert Contributor

hello cloudera community,

 

we are having problems using livy with job spark to read hive by jupyter notebook

 

when we run a simple query, for example:

 

"spark.sql("show show databases").show()"

 

returns the error below

"org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient"

 

Could you help us with this setup?

 

ps: we are using cdh 5.16.x

1 ACCEPTED SOLUTION

avatar
Expert Contributor

hello cloudera community,

 

solved the problem by pointing hive-site.xml file in spark and spark2

 

so spark jobs in livy in jupyter notebook ran successfully

View solution in original post

1 REPLY 1

avatar
Expert Contributor

hello cloudera community,

 

solved the problem by pointing hive-site.xml file in spark and spark2

 

so spark jobs in livy in jupyter notebook ran successfully