Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oozie coordinator having multiple workflow

I have three Workflow XML files such as WF1 WF2 WF3. Can I link all these workflows in a single co-ordinator for the below actions? WF1 is Time dependent WF2 is File Dependency WF3 is No Dependency of anything.

like image 629
sunilsurana Avatar asked Oct 30 '14 09:10

sunilsurana


1 Answers

You can't link all three workflows in a single coordinator.

Instead of that you can link all three workflows in a seperate workflow xml(parent) file using "subworkflow" concept in oozie.(All three workflow files WF1, WF2, WF3 are mentioned as sub workflows in this parent workflow file)

Then you can use your coordinator xml file to schedule parent workflow file so that all three workflow files get linked.

Reference: https://bhatnagarankitblog.wordpress.com/2013/11/09/multiple-executions/

like image 74
Clinton Prakash Avatar answered Oct 04 '22 20:10

Clinton Prakash