Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

oozie.processing.timezone and timezone in specified

Highlighted

oozie.processing.timezone and timezone in specified

Contributor

I am using cloudera manager controlled cluster running CDH 4.5.0-1.cdh4.5.0.p0.30. 

 

After specifying a oozie processing timezone: 

 

<property>
    <name>oozie.processing.timezone</name>
    <value>GMT-0500</value>
</property>

 

My previously working coordinator stopped working with the following error: 

 

E1003: Invalid coordinator application attributes, parameter [start] = [2014-01-20T23:45Z] must be Date in GMT-05:00 format (yyyy-MM-dd'T'HH:mm-0500). Parsing error java.text.ParseException: Could not parse [2014-01-20T23:45Z] using [yyyy-MM-dd'T'HH:mm-0500] mask

 

The start date in question is defined via hue oozie gui: 

 

Hue   Oozie Editor Dashboard   Edit Coordinator.png

 

Same error if I replace America/Toronto with GMT-500. 

 

Does the coordinator puts the start date in the wrong format? Is there an attribute that I can set to get pass this? 

 

 

 

 

 

5 REPLIES 5

Re: oozie.processing.timezone and timezone in specified

Contributor

Could you try to generate the coordinator job manually? As in, not through the Hue UI. 

And for the start date, specify: 2014-01-20T23:45Z-0500 instead of "2014-01-20T23:45Z".

 

If this works, it looks like a bug in Hue. So let us know which version of Hue you are using.

Highlighted

Re: oozie.processing.timezone and timezone in specified

Contributor

Manual dryrun worked with the following format (notice, it is without the 'Z'):

 

2014-01-20T18:59-0500

 

 

This format is required in all of the following fields: 

 

jobStart

jobEnd

initialDataset

 

Leaving out the "-0500" in any of the 3 fields causes the parse error. 

 

Hope this is enough information for creating a hue-oozie ticket.

Highlighted

Re: oozie.processing.timezone and timezone in specified

Yes, Hue does not apply the non default timezone from Oozie. At XML generation time, Hue should read the non standard timezone from Oozie.

I created:
https://issues.cloudera.org/browse/HUE-1910
Highlighted

Re: oozie.processing.timezone and timezone in specified

Explorer

how to sovle this problem?

 

does the oozie support  GMT+0800  zone?

Highlighted

Re: oozie.processing.timezone and timezone in specified

Master Guru
While Oozie does support setting a timezone, Hue currently has issues in dealing with it. You can still continue to use Oozie via CLI/etc. with the property set.
Don't have an account?
Coming from Hortonworks? Activate your account here