Member since
03-09-2016
2
Posts
1
Kudos Received
0
Solutions
03-09-2016
08:18 AM
So you must call add jar /opt/cloudera/parcels/CDH/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core.jar before executing the DDL.
... View more
03-09-2016
08:13 AM
Hi Harsh, Is the library installed by default on the Hive process classpath. CREATE TABLE jsontest(a string, b string) ROW FORMAT SERDE "org.apache.hive.hcatalog.data.JsonSerDe" STORED AS TEXTFILE; => Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: org.apache.hive.hcatalog.data.JsonSerDe
... View more