2017-07-04 189 views
1

我對這個oozie很陌生,我不知道該怎麼做。我正在triying運行默認實例在Oozie的蜂巢操作文件...如何爲oozie工作流程配置job.properties

這是我Job.properties文件

nameNode=hdfs://localhost:8020 jobTracker=localhost:8021 queueName=default examplesRoot=exampless

oozie.libpath=/user/${user.name}/${examplesRoot}/apps/examples-lib oozie.wf.application.path=/practical/examples/apps/hive

注意:/ practical/examples/apps /將hdfs的路徑配置爲包含workflow.xml文件

我收到此錯誤

Error: E0504 : E0504: Workflow app directory [/practical/examples/apps/hive] does not exist (but im having workflow.xml file in that path)

回答

0
I think you should set 
oozie.wf.application.path to 
hdfs://hostname:8020/practical/examples/apps/hive 
instead of /practical/examples/apps/hive as it is not an hdfs location and 
it will start searching in local file system not hdfs. 

Example: 
nameNode=hdfs://quickstart.cloudera:8020 
oozie.wf.application.path = 
${nameNode}/user/${user.name}/practical/examples/apps/hive 
相關問題