Hive json Class org.openx.data.jsonserde.JsonSerDe not found Exception

解决方法不一定完全正确,也可能会有多余步骤,仅供参考

  1. 把json-serde-1.3.8-jar-with-dependencies.jar,json-udf-1.3.8-jar-with-dependencies.jar放到hdfs的/common/lib/目录下
  2. 在hive-site.xml中添加配置 

   hive.aux.jars.path
   hdfs://hadoop01:8020/common/lib




     hive.exec.compress.output
     false

 3.再拷贝jar包放在$HADOOP_HOME/share/hadoop/mapreduce/下即可

你可能感兴趣的:(spark,hive,json,hadoop)