oozie时区支持 [英] oozie timezone support

查看:148
本文介绍了oozie时区支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

oozie版本是Oozie客户端构建版本:2.3.2-cdh3u3。

此版本字符串由cmdoozie version生成。

和oozie cmd不支持信息选项,也就是说,cmdoozie info -timezones是非法的。



我想知道上面版本的oozie支持多少个时区。

是否支持时区亚洲/上海?



任何帮助都是有用的。

解决方案

您应该使用Google并阅读文档...

http://archive.cloudera.com/cdh4/cdh/4/oozie/CoordinatorFunctionalSpec.html#a4.2._Timezone_Representation [ ^ ]


< blockquote>好的,我刚刚找到了答案。



Oozie总是运行oozie.processing.timezone中的所有内容,默认情况下

到UTC。协调员中的时区有点误导,因为它实际上并没有改变时区;只使用夏令时规则来自这个时区的


我们通常建议用户将oozie.processing.timezone留在

UTC并进行数学设置,以便在协调员中设置时间(比如

穆罕默德说)。

- 罗伯特


您可以在oozie-site.xml中设置此属性

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







参考:

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



http://stackoverflow.com/questions/13968768/oozie-timezone-settings [ ^ ]


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.

解决方案

You should use Google and read documentation...
http://archive.cloudera.com/cdh4/cdh/4/oozie/CoordinatorFunctionalSpec.html#a4.2._Timezone_Representation[^]


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"

<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[^]


这篇关于oozie时区支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆