Cannot validate serde: org.openx.data.jsonserde.JsonSerDe
由于有很多数据,比如行为数据,内容数据都是json格式的,我们需要json的serde- jar,存储方式有以下三种:
1. jar包可以存储到linux上的一个固定目录,使用add jar指令加载到classpath下。
2. 也可以将jar包上传到hdfs中, 使用add jar指令加载到classpath下。
3. 也可以将jar包存储到hive的lib目录下,咱们选择最后一种
serde-jar:json-serde-1.3.8-jar-with-dependencies.jar
重启hive,成功!