New Contributor
Posts: 1
Registered: ‎01-15-2019

Oozie-Java Action-ClassNotFoundException

I am using hadoop-2.6.0-cdh5.4.2 and trying to run "JavaOozieTest" java action in oozie (Web UI). I get "java.lang.ClassNotFoundException: Class com.test.JavaOozieTest not found". Is there a place where i have to set the classpath? Or is there anything else that i am missing? the location of the files: the in local filesystem workflow.xml in hdfs://hdfs01-sh/user/hduser0539/oozie/examples/apps/javaOozie/ application jar in hdfs://hdfs01-sh/user/hduser0539/oozie/examples/apps/javaOozie/lib/ Definition and workflow.xml nameNode=hdfs://hdfs01-sh jobTracker=xxxxxxx queueName=queue_0539_66 examplesRoot=examples oozie.use.system.libpath=true oozie.libpath=hdfs://hdfs01-sh/user/oozie/share/lib workflow.xml xxxxxxx hdfs://hdfs01-sh queue_0539_01 com.test.JavaOozieTest Hello Oozie! Java failed, error message[${wf:errorMessage(wf:lastErrorNode())}]
Cloudera Employee
Posts: 59
Registered: ‎04-03-2017

Re: Oozie-Java Action-ClassNotFoundException



Can you share the workflow.xml file that you are running?