How do I compile a Hive UDF

冷暖自知 提交于 2019-11-30 15:20:03

The following works for me, but I suspect the details will vary depending on your installation and what your source code does:

export CLASSPATH=/usr/lib/hive/lib/hive-exec-0.9.0.15.jar:/usr/lib/hadoop/hadoop-core.jar

Have you included jars of the form $HIVE_HOME/lib/hive-serde-*.jar and $HIVE_HOME/lib/hive-exec-*.jar in your classpath?

add hive-0.4.1 jar file to lib

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