Oozie coordinator having multiple workflow

sunilsurana picture sunilsurana · Oct 30, 2014 · Viewed 7.3k times · Source

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.

Answer

Clinton Prakash picture Clinton Prakash · Oct 28, 2015

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/