unable to write the data into hive using pyspark through jupyter notebook .
giving me below error
Py4JJavaError: An error occurred while calling o99.saveAsTable. : org.apache.spark.sql.AnalysisException: java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient;
Note these steps already tried:
- copied the hdfs-site.xml , core-site.xml to /conf of hive
- removed metasotore_db and created again using below cmd $HIVE_HOME/bin/schematool –initschema –dbtype derby