无法运行oozie coordinator xml文件

时间:2014-10-09 21:42:10

标签: xml hadoop bigdata

我正在bigdata大学网站上练习动手实验室,并且他们在那里展示了如何运行oozie协调员,我已经遵循相同的指令,但我收到以下错误并且无法找出相同的解决方案,任何帮助将不胜感激。

biadmin @ BIVM中:/ opt / IBM / biginsights / Oozie的/ bin中> ./oozie job -run -config~ / coord / coordinator.properties

Error: E0701 : E0701: XML schema error, cvc-complex-type.2.4.a: Invalid content was found starting with element 'Workflow'. One of '{"uri:oozie:coordinator:0.1":workflow}' is expected.

我正在使用下面的coordinator.xml和coordinator.properties:

********* coordinator.xml ******************

<coordinator-app name="Schedule_WordCount" frequency="${freq}" 

start="${startTime}" end="${endTime}" timezone="${timezone}" 

xmlns="uri:oozie:coordinator:0.1"> 

 <action> 

 <workflow> 

 <app-path>${workflowPath}</app-path> 

 <configuration> 

 <property> 

 <name>queueName</name> 

 <value>default</value> 

 </property> 

 </configuration> 

 </workflow> 

 </action> 

</coordinator-app>

************************* coordinator.properties ***********

oozie.coord.application.path=hdfs://bivm:9000/user/biadmin/coord

freq=1440

startTime=2014-10-12T14:00Z (Set this to a date in the future)

endTime=2014-10-13T14:00Z (Set this to a date in the future)

timezone=UTC

workflowPath=hdfs://bivm:9000/user/biadmin/oozieWF

jobtracker=bivm:9001

namenode=bivm:9000

PREFIX=hdfs://bivm:9000/user

0 个答案:

没有答案