错误:E0505:E0505:应用程序定义

问题描述 投票:5回答:3

执行以下命令时出错。

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

错误:E0505:E0505:应用程序定义[hdfs:// localhost:8020 / tmp / oozie-app / coordinator /]不存在

有什么建议。

hadoop oozie oozie-coordinator
3个回答
4
投票

请从工作属性文件中查看以下属性 -

oozie.wf.application.path

这应该指向你有workflow.xmlcoordinator.xml的HDFS目录

请注意,如果路径存在但不包含workflow.xmlcoordinator.xml,您仍会收到相同的,误导性的App definition ... does not exist错误。


1
投票

首先,你使用workflow.xml脚本将oozie.wf.application.path放入给定的hadoop fs -put workflow-full-path to-oozie-wf-application-path中,

以后你运行oozie脚本如下所述 -

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}/

希望通过这个主题来帮助任何人,谢谢。


0
投票

我在运行工作流程时遇到了类似的问题。我的工作流程的名称是wf-somename.xml,这是罪魁祸首。我后来改名为workflow.xmlwf-somename.xml,这对我有用。

© www.soinside.com 2019 - 2024. All rights reserved.