Hi Raja,
You have specified a condition that,only one file should b
processed each time the workflow runs.But,when you specify the input
directory path containing four files in the workflow,how can oozie system
know which file to fetch?.
You need to specify particular file name if your condition has to b
satisfied.
When you specify a directory conatining many files , i think oozie workflow
executes all the files in single run.I think u can understand what i was
trying to say?.So,in this context i think the above requirement may not be
possible.
On Fri, May 23, 2014 at 4:23 PM, Raja.Aravapalli <[email protected]
> wrote:
> Ok, Thanks for your reply Siva, please do let me know if you finds some
> solution to overcome this as this type of customization helps us a lot
> rather than killing the coordinator manually.....!
>
>
> Regards,
> Raja.
>
> -----Original Message-----
> From: siva kumar [mailto:[email protected]]
> Sent: Friday, May 23, 2014 2:37 PM
> To: [email protected]
> Subject: Re: oozie coordinator
>
> hi raja,
> I have worked on the same requirement.But according to my
> knowledge i think,that is not the way how oozie works.Oozie is used a
> scheduler of jobs based on some condition(frequncy,time,dataavailability).
> I was left with no clue on the requirement you have posted.
>
>
> thanks
>
> On Wed, May 21, 2014 at 7:41 PM, Raja.Aravapalli <
> [email protected]
> > wrote:
>
> > Hi
> >
> > Can anyone guide me that, is it possible to control the coordinator
> > application such way that, rather than triggering the workflow based
> > on frequency(time based) to trigger the workflow certain specified no.of
> times.
> >
> > Let me elaborate what I need:
> >
> > Suppose I have four input files which I need to process in my input
> > directory...
> > Now, I want my coordinator to trigger the workflow on my input only
> > 4times, as every time it triggers it process one file from my input
> > directory.
> >
> >
> > So, by default coordinator triggers the workflow based on time
> > frequency we provide to it... but I want my coordinator to trigger
> > based on no.of my input files rather than the frequency.
> >
> > Does it possible to configure in oozie coordinator.xml file.
> >
> > Any one please help me......
> >
> >
> >
> > Regards,
> > Raja.
> >
>