How do I specify multiple libpath in oozie job?

蹲街弑〆低调 提交于 2019-12-10 05:34:03

问题


My oozie job uses 2 jars x.jar and y.jar and following is my job.properties file.

oozie.libpath=/lib
oozie.use.system.libpath=true

This works perfectly when both the jars are present at same location on HDFS at /lib/x.jar and /lib/y.jar

Now I have 2 jars placed at different locations /lib/1/x.jar and /lib/2/y.jar.
How can I re-write my code such that both the jars are used while running the map reduce job?

Note: I have already refernced the answer How to specify multiple jar files in oozie but, this does not solve my problem


回答1:


Found the answer at
http://blog.cloudera.com/blog/2014/05/how-to-use-the-sharelib-in-apache-oozie-cdh-5/
Turns out that I can specify multiple paths separated by comma.



来源:https://stackoverflow.com/questions/33715104/how-do-i-specify-multiple-libpath-in-oozie-job

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