Oozie: Run examples

#cd  /path/to/oozie-4.0.1

#tar -xzf oozie-examples.tar.gz

modify all job.properties in the examples dirnameNode=hdfs://192.168.122.1:2014
jobTracker=192.168.122.1:2015
queueName=default
examplesRoot=oozie/examples

#hdfs dfs -put -R examples  oozie/

 

Run  pig example

#oozie job --oozie http://localhost:11000/oozie --config examples/apps/pig/job.properties -run 
#oozie job -oozie http://localhost:11000/oozie -info 0000000-140403135241755-oozie-zhj-W

 

Note : The job.properties file needs to be a local file during submissions, and not a HDFS path.

 

 

jobtracker in job.properties  is yarn.resourcemanager.address in yarn-site.xml for hadoop2

 

When I run pig example. The status of this workflow job is sccuessed in JobBrowsers panel of Hue or Hadoop Job History, but killed or failed in Dashborad of hue/oozie web ui.  I can't fix this problem.

 



 

 

 

 

 

 please refer to http://ylzhj02.iteye.com/admin/blogs/2040787

 

 

 

See:http://hortonworks.com/community/forums/topic/oozie-unknown-hadoop-job/

http://qnalist.com/questions/4726691/oozie-reports-unkown-hadoop-job-failure-but-no-error-indication-in-yarn

 http://blog.cloudera.com/blog/2012/12/how-to-use-the-sharelib-in-apache-oozie/

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值