Oozie day light savings example

Although Oozie documentation explains how to handle Day light savings with Oozie


Please see latest link above

Just to add my thoughts

Timezone : Add the timezone for place with which you want to run the job.

Example every day in Sydney 5:00 PM I want a job to be run. Since Sydney observe day light savings I would enter coordinator job as

Starttime: GMT time corresponding to my start time ( let’s say time matching to Sydney 5:00PM )    Start time = 2012-10-03T07:00Z
End time : GMT time corresponding to my end time   End time = 2012-10-07T07:00Z
Timezone : Australia/Sydney
Frequency : coord:day(1)

Always use function to specify frequency instead of hard coding minutes.
See the time zone ID for region you want to use. Hint see http://www.java2s.com/Tutorial/Java/0120__Development/GettingallthetimezonesIDs.htm

The above configuration will make your job run tension free in day light savings area also

Hope this helps

No comments:

Post a Comment

Please share your views and comments below.

Thank You.