I am trying to run a simple command
spark.sql('SELECT * FROM df).show()
I am getting this error
AnalysisException: 'java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient;'
I just started learning spark a few days back and don't understand what is causing this error. Please help.
What steps need to be followed to stop this exception?