Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

oozie timezone settings

Tags:

oozie

i am new to oozie and having problem in changing oozie default time zone. I am writing oozie coordinator job and have tried to specify timezone like

<coordinator-app name="hello-coord" frequency="${coord:days(1)}"
                  start="2009-01-02T08:00Z" end="2009-01-04T08:00Z" timezone="GMT+05:30"
                 xmlns="uri:oozie:coordinator:0.1">

as explained here http://oozie.apache.org/docs/3.2.0-incubating/CoordinatorFunctionalSpec.html#a4._Datetime_Frequency_and_Time-Period_Representation but it does not work. Can anyone please tell me where do i go wrong?

Secondly, i want to get date time when the oozie workflow starts. Suppose i want to run a coordinator job for a past date, say a week ago, that job ran for a whole day with frequency of 15 mins. what i want is to have date time at the time when the workflow started.

Thank you very much for your precious time

like image 869
Junaid Avatar asked Dec 20 '12 09:12

Junaid


1 Answers

you may set this property in your

oozie-site.xml

<property> <name>oozie.processing.timezone</name> <value>GMT+0400</value> </property>

like image 113
ygnhzeus Avatar answered Feb 27 '23 12:02

ygnhzeus