Error: E0505 : E0505: App definition
Please check below property from job properties file-
oozie.wf.application.path
This should point to HDFS directory where you have workflow.xml
and coordinator.xml
Note that if the path DOES exist but does not contain a workflow.xml
or coordinator.xml
, you will still receive the same, slightly misleading App definition ... does not exist
error.
First you put the workflow.xml
in the given oozie.wf.application.path
using hadoop fs -put workflow-full-path to-oozie-wf-application-path
script,
later you run the oozie script like below said -
bin/oozie job --oozie http://localhost:11000/oozie/ -config /home/arif/applications/hadoop/oozie-4.3.0/apps/sqoop/job.properties -run
I have defined the job.properties
file like this -
nameNode=hdfs://localhost:9000jobTracker=localhost:9001queueName=defaultvalue_dfs=1examplesRoot=/user/oozie/sqoopexampleRootDir=${examplesRoot}/oozie-moviesdb-sqoopoozie.use.system.libpath=trueoozie.wf.application.path=${nameNode}${examplesRoot}/
hope it will helps anyone by coming on this thread, thanks.
I had the similar problem in running the workflow. The name of my workflow was wf-somename.xml
which was the culprit. I later changed the name to workflow.xml
from wf-somename.xml
and that has worked for me.