You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2014/05/13 11:46:15 UTC
[jira] [Created] (OOZIE-1837) LauncherMainHadoopUtils sensitive to
clock skew
Lars Francke created OOZIE-1837:
-----------------------------------
Summary: LauncherMainHadoopUtils sensitive to clock skew
Key: OOZIE-1837
URL: https://issues.apache.org/jira/browse/OOZIE-1837
Project: Oozie
Issue Type: Bug
Environment: Oozie 4.0.0 (CDH5)
Reporter: Lars Francke
Priority: Minor
The method {{getChildYarnJobs}} in {{LauncherMainHadoopUtils}} can fail with a message like {{begin > end in range (begin, end): (1399972474014, 1399972473948)}}.
{code}
startTime = Long.parseLong((System.getProperty("oozie.job.launch.time")));
....
gar.setStartRange(startTime, System.currentTimeMillis());
{code}
I guess this is happening when the server on which the launch time was set has a different time then the one this task is running on. In our case there was a skew of about 8 seconds which caused all of our jobs that hit this server to fail.
I understand that skew in clocks is generally not a good idea but I feel that Oozie could be a bit more resilient here or print a better warning maybe?
--
This message was sent by Atlassian JIRA
(v6.2#6252)