Cannot validate serde: org.apache.hadoop.hive.contrib.serde2.MultiDelimitSerDe

故事扮演 提交于 2019-12-08 05:33:24

You are facing this problem because your hive lib does not have hive-contrib jar or hive-site.xml is not pointing to it.

Check '/usr/lib/hive/lib' folders . There must be a jar hive-contrib-<version>.jar in this folder

If you do not find any jar in that folder download it from this link

Please take care of the correct version.

Now put that file to your hive lib folder mentioned above. you can add this file to your hive CLI in two ways

  1. for single Session :

add jar /usr/lib/hive/lib/hive-contrib-<version>.jar;

  1. For permanent solution : Add this to your hive-site.xml

    <property> <name>hive.aux.jars.path</name> <value>/usr/lib/hive/lib/*</value> </property>

    P.S: MultiDelimitSerDe class is added after hive-contrib-0.13.Please ensure that you are using correct version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!