0
votes

Before creating the twitter table i added this ADD JAR hdfs:///user/hive/warehouse/hive-serdes-1.0-SNAPSHOT.jar;

I got the following error when create the twitter table in hive: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: com.cloudera.hive.serde.JSONSerDe

2

2 Answers

0
votes

Move the Jar from HDFS to Local. Then try to add JAR in hive terminal Then try to use the query on Twitter Table

0
votes

Ideally speaking you can add jars from both Local file system or hdfs, looks like problem could be something else here.

I would recommend to follow below sequence of steps: