Hi, the problem is that I need to feed last 24 hours + 4 hours more. Imagine, I start my coord at 05 hour of day I need to feed 00..04 hours of current day and 00-23 hours of previous day, 28 hours totally. How can I set that oozie feeds exact hours range?
2015-05-08 21:56 GMT+03:00 Mohammad Islam <[email protected]>: > Hi Serega,I didn't fully understand your question.I assume: your job runs > "daily" and processes 24 instances of "hourly" data.You have to do the > followings: > 1. define a dataset in <datasets> for hourly data.2. define a "data-in" in > "input-event" section. In <data-in>" you will need to mention the start and > end instance. you can write > <start-instance>${coord:current(-23)}</start-instance><end-instance>${coord:current(0)</end-instance> > HTH. > Regards,Mohammad > > > On Friday, May 8, 2015 4:33 AM, Serega Sheypak < > [email protected]> wrote: > > > Hi, I have a coordinator. It wakes up each day and consumes hourly-based > paths. > The problem is that I coordinator should consume these paths: > /my/path/2015/05/20 > /my/path/2015/05/21 > /my/path/2015/05/22 > ... > /my/path/2015/06/04 > > How can I specify these instances using > > <start-instance /> > <end-instance /> > > > >
