在一个目录中是否可以有两个oozie workflow.xml文件? [英] Can there be two oozie workflow.xml files in one directory?

查看:126
本文介绍了在一个目录中是否可以有两个oozie workflow.xml文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个目录中是否有两个oozie workflow.xml文件?

Can there be two oozie workflow.xml files in one directory?

如果是这样,我该如何指导oozie runner运行哪一个?

If so how can I instruct oozie runner which one to run?

推荐答案

您可以有两个工作流文件(只给它们唯一的名称),然后您可以通过设置 oozie.wf.application.path 在你的配置文件中的值:

You can have two workflow files (just give them unique names), then you can select which one to call by setting the oozie.wf.application.path value in your config file:

oozie.wf.application.path=hdfs://namenode:9000/path/to/job/wf-1.xml
#oozie.wf.application.path=hdfs://namenode:9000/path/to/job/wf-2.xml

这篇关于在一个目录中是否可以有两个oozie workflow.xml文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆