[
https://issues.apache.org/jira/browse/OOZIE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831767#comment-13831767
]
Robert Kanter commented on OOZIE-1612:
--------------------------------------
There are, unfortunately, some flaky tests; this doesn't look related, so I
don't think we need to worry about it for this JIRA.
I think this is the right way to fix the date messages; especially considering
there ended up only being 5 messages that had dates in them. We'll just have
to be on the look-out for new patches to make sure they print their dates in
the proper timezone.
Patch looks good: +1
> When printing Dates to log messages, we should make sure they are in
> oozie.processing.timezone
> ----------------------------------------------------------------------------------------------
>
> Key: OOZIE-1612
> URL: https://issues.apache.org/jira/browse/OOZIE-1612
> Project: Oozie
> Issue Type: Improvement
> Affects Versions: trunk
> Reporter: Robert Kanter
> Priority: Minor
> Labels: newbie
> Attachments: OOZIE-1612.1.patch, OOZIE-1612.3.patch,
> OOZIE-1612.patch, oozie-1612.2.patch
>
>
> We were recently looking into an issue and noticed that the same log message
> had printed different date objects with different timezones, which makes it
> hard to compare the two. Which leads to the bigger picture, which is that we
> should be printing any Date objects in log messages with the
> {{oozie.processing.timezone}} timezone (there's a method for that in
> {{DateUtils}}).
--
This message was sent by Atlassian JIRA
(v6.1#6144)