Click here to Skip to main content
15,886,772 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
oozie version is "Oozie client build version: 2.3.2-cdh3u3".
This version string is generated by cmd "oozie version".
And oozie cmd doesn't support the info option, that is, cmd "oozie info -timezones" is illegal.

I wonder how many timezones my oozie of the version above supports.
Does it support timezone "Asia/Shanghai"?

Any help is appretiated.
Posted

 
Share this answer
 
Comments
beizi6 19-Sep-14 3:38am    
I set the timezone in coordinator with the value "Asia/Shanghai". But it seems that this value doesn't work as expected. I wonder whether my oozie supports the timezone "Asia/Shanghai"?
I've looked over some docs and find out that the timezone support in oozie mainly relies on Java's timezone. And this makes me more confused why "Asia/Shanghai" doesn't work in my coord.
Alright, I've just found out the answer.

"Oozie always runs everything in "oozie.processing.timezone", which defaults
to UTC. The "timezone" in the coordinator is a little misleading as it
doesn't actually change the timezone; only the daylight savings time rules
from this timezone are used.
We typically recommend users to leave the "oozie.processing.timezone" at
UTC and to do the math for setting the times in your coordinator (like
Mohammad said).
- Robert"

"you may set this property in your oozie-site.xml"
XML
<property>
    <name>oozie.processing.timezone</name>
    <value>GMT+0400</value>
</property>



reference:
http://qnalist.com/questions/4572075/howto-make-oozie-respect-timezone[^]

http://stackoverflow.com/questions/13968768/oozie-timezone-settings[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900