Member since
01-09-2014
14
Posts
0
Kudos Received
0
Solutions
01-09-2014
04:49 PM
Creating a "lib" folder manually in hdfs://localhost.localdomain:8020/user/hue/oozie/workspaces/_cloudera_-oozie-22-1389296910.99 and placing the jar inside the "lib" folder helped! Now my java action runs successfully. Can you please share the documentation of using the Web UI if there is one? Thanks!
... View more
01-09-2014
04:03 PM
I didnot upload any extra xml. The xml file generated by oozie as "workflow.xml" is posted in the question under the heading "Definition"
... View more
01-09-2014
02:58 PM
I have uploaded the jar in the workspace which is hdfs://localhost.localdomain:8020/user/hue/oozie/workspaces/_cloudera_-oozie-22-1389296910.99 I uploaded it while creating the java action using the UI in the name "Jar name" . Despite that i get the exception
... View more
01-09-2014
01:54 PM
I am using CDH 4.4 and trying to run "HelloWorld" java action in oozie (Web UI). I get "java.lang.ClassNotFoundException: Class HelloWorld not found". I have uploaded the jar in the workflow`s workspace. Is there a place where i have to set the classpath? Or is there anything else that i am missing? Configuration: Name Value hue-id-w 22 jobTracker localhost.localdomain:8021 nameNode hdfs://localhost.localdomain:8020 oozie.use.system.libpath true oozie.wf.application.path hdfs://localhost.localdomain:8020/user/hue/oozie/workspaces/_cloudera_-oozie-22-1389296910.99 user.name cloudera Definition: "<workflow-app name="WF22" xmlns="uri:oozie:workflow:0.4"> <start to="GBB12"/> <action name="GBB12"> <java> <job-tracker>${jobTracker}</job-tracker> <name-node>${nameNode}</name-node> <main-class>HelloWorld</main-class> <arg>er</arg> </java> <ok to="end"/> <error to="kill"/> </action> <kill name="kill"> <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message> </kill> <end name="end"/> </workflow-app>"
... View more
Labels: