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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • trunk
    • 4.1.0
    • None

    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.patch
          4 kB
          Gwen Shapira
        2. OOZIE-1612.3.patch
          6 kB
          Gwen Shapira
        3. oozie-1612.2.patch
          6 kB
          Gwen Shapira
        4. OOZIE-1612.1.patch
          3 kB
          Gwen Shapira

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: