[ 
https://issues.apache.org/jira/browse/OOZIE-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974925#comment-15974925
 ] 

Artem Ervits commented on OOZIE-2867:
-------------------------------------

[~andras.piros] I'd like to take this up and I'm reviewing code in 
https://github.com/apache/oozie/blob/ff21b99072203aa7584ddd9a195a32daf97fa52e/core/src/main/java/org/apache/oozie/util/DateUtils.java#L145:L147
 and it throws IllegalArgumentException rather than write a warning message, do 
you suggest to touch this part of the code or something else? The test also 
expects this exception, 
https://github.com/apache/oozie/blob/35db5b31fa0c69680de4fe12eabc6fde818b2c54/core/src/test/java/org/apache/oozie/util/TestDateUtils.java#L131:L134.
 Are you referring to some other piece of code? Aside from this I can edit the 
twiki 
https://github.com/apache/oozie/blob/0b336e50f6b731f852c273e2735621c52950bb27/docs/src/site/twiki/CoordinatorFunctionalSpec.twiki

> Timezone handling for Coordinators: emphasize "Continent/City" format
> ---------------------------------------------------------------------
>
>                 Key: OOZIE-2867
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2867
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: coordinator
>    Affects Versions: 4.3.0
>            Reporter: Andras Piros
>             Fix For: 5.0.0
>
>
> It seems that some time zone abbreviations like {{BST}} for British Summer 
> Time silently just do not get accepted correctly by Oozie and the underlying 
> JVM.
> It would be great to:
> * emphasize in the Coordinator Functional Specification that it's best to 
> only use time zone format {{Continent/City}}, like {{Europe/London}}, or 
> {{America/Los_Angeles}}, instead of other formats like {{PDT}}, {{PST}}, or 
> {{BST}}
> * if the timezone is not recognized by Oozie, it's best to emit a {{WARN}} 
> log and suppose {{UTC}} instead of silently ignoring the unknown specified 
> timezone



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to