Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

Oozie cannot find custom action jar

avatar
Explorer

I get the error that oozie cant find the custom action class when I run the job. This is how I added my custom action jar to oozie : - stoped oozie - added classname to oozie.service.ActionService.executor.ext.classes in oozie-site.xml - copy cutom.jar to /usr/hdp/current/oozie-server/libext/.

- /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war - started oozie back Error :

java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/CustomActionClass
at 
...
...
I understand that new actions are to be added as ext.classes and action jars in libext folder. Am I missing something here ? Also how are libext jars different from sharelib jars ?
1 ACCEPTED SOLUTION

avatar
Explorer

Oozie didnt have access to hbase jars, added them manually to libext/ folder and created the oozie.war again and it worked.

View solution in original post

1 REPLY 1

avatar
Explorer

Oozie didnt have access to hbase jars, added them manually to libext/ folder and created the oozie.war again and it worked.

Labels