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. Want to know more about what has changed? Check out the Community News blog.

java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe not found

java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe not found

Explorer

I am excuting create table using json serde "org.apache.hive.hcatalog.data.JsonSerDe"  in spark.sql on spark version 2.1.0.cloudera2

 

I am getting below error 

java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe 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

 

1 REPLY 1
Highlighted

Re: java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe not found

New Contributor

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