Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-6604

[oozie] Fix timestamp conversion to server timezone

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.12.0
    • Fix Version/s: 4.0.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      Setting oozie.processing.timezone to use "GMT-XXXX" instead of "GMT+XXX" doesn't work with Hue. Hue always replaces the "-" with a "+" and then submission to Oozie fails for coordinator. The error is:

      E1003: Invalid coordinator application attributes, parameter [start] = [2017-05-15T12:45+0400] must be Date in GMT-04:00 format (yyyy-MM-dd'T'HH:mm-0400). Parsing error java.text.ParseException: Could not parse [2017-05-15T12:45+0400] using [yyyy-MM-dd'T'HH:mm-0400] mask

      This is because Hue replaced - with + and Oozie expects -.

      Just go to coordinator page and submit "My Coordinator". If you add:

      oozie.processing.timezone = GMT-0400

      To your ooze-site.xml safety valve in CM, restart oozie, that's how you reproduce.

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              krish Sai K Chirravuri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: