Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎05-01-2016

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

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

 

Announcements