Support Questions

Find answers, ask questions, and share your expertise

java.lang.ClassNotFoundException Class not found


I am excuting create table using json serde ""  in spark.sql on spark version 2.1.0.cloudera2


I am getting below error 

java.lang.ClassNotFoundException Class not found


while executing spark2-submit & pyspark2 i am using below --jars 


--jars /opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core.jar


I also tried set("sparks.jars","/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core.jar") inside my code . Nothing works



New Contributor

Did u find a solution to this yet ? I am facing the same issue

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.