You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Uddipan Mukherjee <mu...@gmail.com> on 2012/09/21 19:36:55 UTC
Oozie WorkFlows Job Execution in a Workflow
Hi Oozie Gurus,
I have three workflow jobs defined in Oozie. I have a requirement to
implement these jobs like following:
We want to schedule first workflow job, which will run. On its
completion second and third Workflow job will start executing in
Parallel automatically.
Is there any way in Oozie framework to achieve this. Any pointers will
be helpful.
--
Thanks and Regards,
Uddipan Mukherjee
Re: Oozie WorkFlows Job Execution in a Workflow
Posted by Matt Goeke <go...@gmail.com>.
I am assuming that all three workflows are already created as seperate
workflow.xmls. If that is true just reference them as subworkflows within a
main workflow and, as Harish mentioned, fork to the 2nd and 3rd subworkflow
upon successful completion of the first.
Here is some reference documentation if you need help:
(Fork / Join)
http://incubator.apache.org/oozie/docs/3.2.0-incubating/docs/WorkflowFunctionalSpec.html#a3.1.5_Fork_and_Join_Control_Nodes
(Subworkflow)
http://incubator.apache.org/oozie/docs/3.2.0-incubating/docs/WorkflowFunctionalSpec.html#a3.2.6_Sub-workflow_Action
Also please checkout the oozie examples as there is a perfect example of
both of those in there.
--
Matt
On Sat, Sep 22, 2012 at 1:15 AM, Harish Krishnan <
harish.t.krishnan@gmail.com> wrote:
> You can use fork for executing workflows in parallel.
>
> Thanks & Regards,
> Harish.T.K
>
>
> On Fri, Sep 21, 2012 at 10:36 AM, Uddipan Mukherjee <
> mukherjeeuddipan@gmail.com> wrote:
>
> > Hi Oozie Gurus,
> >
> > I have three workflow jobs defined in Oozie. I have a requirement to
> > implement these jobs like following:
> >
> > We want to schedule first workflow job, which will run. On its
> > completion second and third Workflow job will start executing in
> > Parallel automatically.
> >
> > Is there any way in Oozie framework to achieve this. Any pointers will
> > be helpful.
> >
> > --
> > Thanks and Regards,
> > Uddipan Mukherjee
> >
>
Re: Oozie WorkFlows Job Execution in a Workflow
Posted by Harish Krishnan <ha...@gmail.com>.
You can use fork for executing workflows in parallel.
Thanks & Regards,
Harish.T.K
On Fri, Sep 21, 2012 at 10:36 AM, Uddipan Mukherjee <
mukherjeeuddipan@gmail.com> wrote:
> Hi Oozie Gurus,
>
> I have three workflow jobs defined in Oozie. I have a requirement to
> implement these jobs like following:
>
> We want to schedule first workflow job, which will run. On its
> completion second and third Workflow job will start executing in
> Parallel automatically.
>
> Is there any way in Oozie framework to achieve this. Any pointers will
> be helpful.
>
> --
> Thanks and Regards,
> Uddipan Mukherjee
>
Re: Oozie WorkFlows Job Execution in a Workflow
Posted by Mohammad Islam <mi...@yahoo.com>.
Hi Uddipan,
You can write a fourth WF consists of 3 SubWF actions. You can use fork for WF2 and WF3.
More details about sub WF action could be found at:
http://incubator.apache.org/oozie/docs/3.2.0-incubating/docs/WorkflowFunctionalSpec.html#a3.2.6_Sub-workflow_Action
Regards,
Mohammad
________________________________
From: Uddipan Mukherjee <mu...@gmail.com>
To: oozie-users@incubator.apache.org
Sent: Friday, September 21, 2012 10:36 AM
Subject: Oozie WorkFlows Job Execution in a Workflow
Hi Oozie Gurus,
I have three workflow jobs defined in Oozie. I have a requirement to
implement these jobs like following:
We want to schedule first workflow job, which will run. On its
completion second and third Workflow job will start executing in
Parallel automatically.
Is there any way in Oozie framework to achieve this. Any pointers will
be helpful.
--
Thanks and Regards,
Uddipan Mukherjee