简体   繁体   English

使用oozie的蜂巢的循环协调器

[英]Recurring coordinator for hive using oozie

I am facing issue while running the coordinator for hive using oozie. 使用oozie运行蜂巢协调器时,我遇到问题。 This is how my jobs.properties file looks like: 这是我的jobs.properties文件的样子:

oozie.use.system.libpath=true

workflowRoot=hdfs://bigi-3000-beta-bm-20140511-2204-3467-master.imdemocloud.com:9000/user/nehpraka/price_comp1

start=2015-05-20T22:00Z
end=2015-06-22T23:00Z

# HDFS path of the coordinator app
oozie.coord.application.path=hdfs://bigi-3000-beta-bm-20140511-2204-3467-master.imdemocloud.com:9000/user/nehpraka/price_comp1

and this the coordinator.xml 这是coordinator.xml

<coordinator-app name="my_coord_app" frequency="${coord:hours(1)}" start="${coordStart}" end="${coordEnd}" timezone="UTC" xmlns="uri:oozie:coordinator:0.4">
   <action>
      <workflow>
         <app-path>${workflowRoot}</app-path>
      </workflow>
   </action>
</coordinator-app>

But I am getting following error when I am running my job. 但是我在工作时遇到以下错误。

$OOZIE_HOME/bin/oozie job -run -config price_comp1/job.properties
Error: E1004 : Internal Server Error

My workflow is running fine, problem occurred when I tried to append the coordinator. 我的工作流程运行正常,尝试添加协调器时出现问题。

:) It was an mismatch of the name of variables coordStart and coordend. :)变量名coordStart和coordend不匹配。 Still I have one query, what this Start and End time signsiifies? 我仍然有一个查询,这个开始时间和结束时间表示什么?

Does it mean start and end time for the oozie job? 这是否意味着oozie工作的开始和结束时间?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM