Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1612

When printing Dates to log messages, we should make sure they are in oozie.processing.timezone

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:

      Description

      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).

        Attachments

        1. OOZIE-1612.1.patch
          3 kB
          Gwen Shapira
        2. oozie-1612.2.patch
          6 kB
          Gwen Shapira
        3. OOZIE-1612.3.patch
          6 kB
          Gwen Shapira
        4. OOZIE-1612.patch
          4 kB
          Gwen Shapira

          Activity

            People

            • Assignee:
              gwenshap Gwen Shapira
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: