Do I need to place my java classes in some jar that goes to the lib/ directory in the root of the workflow definition, or is there another way to use the classes outside of a jar?

有帮助吗?

解决方案

Java actions in Oozie are run in a Map Reduce job, so yes the classes do need to be wrapped in a jar.

They do not need to be placed in the lib directory though, they can exist in the shared library folder (oozie.libpath).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top