Error: E0505: E0505: application definition

An error occurred while executing the command below.

oozie job -oozie http://localhost:11000/oozie -config coordinator.properties -run

Error: E0505: E0505: application definition [hdfs: // localhost: 8020 / tmp / oozie-app / coordinator /] does not exist

any suggestions.

+4
source share
3 answers

Please check the property property from the job properties file -

oozie.wf.application.path

This should point to the HDFS directory where you have workflow.xmland coordinator.xml

Please note that if the path exists, but does not contain workflow.xmlor coordinator.xml, you will still receive the same slightly misleading error App definition ... does not exist.

+3
source

First you put workflow.xmlin a given oozie.wf.application.pathusing a hadoop fs -put workflow-full-path to-oozie-wf-application-pathscript,

oozie script, -

bin/oozie job --oozie http://localhost:11000/oozie/ -config /home/arif/applications/hadoop/oozie-4.3.0/apps/sqoop/job.properties -run

job.properties :

nameNode=hdfs://localhost:9000
jobTracker=localhost:9001
queueName=default

value_dfs=1

examplesRoot=/user/oozie/sqoop
exampleRootDir=${examplesRoot}/oozie-moviesdb-sqoop

oozie.use.system.libpath=true

oozie.wf.application.path=${nameNode}${examplesRoot}/

, , , .

+1

I had a similar problem when starting a workflow. The name of my workflow was wf-somename.xmlthat was the culprit. Later I changed the name to workflow.xmlc wf-somename.xml, and it worked for me.

0
source

Source: https://habr.com/ru/post/1599849/


All Articles