Saw on a Python 2.6.6 RHEL 6.4. Might be related to daylight. This appears to be platform specific.
@@ -44,6 +44,8 @@ def parse_timestamp(timestamp, time_format=None):
try:
return time.strptime(timestamp, time_format)
except ValueError:
+ return time.strptime(timestamp[:-4], time_format.replace(' %Z', ''))
+ except Exception:
LOG.error("Failed to convert Oozie timestamp: %s" % (time_format,), exc_info=1)
return None