action start time update should be set before hadoop job submission.
--------------------------------------------------------------------
Key: OOZIE-686
URL: https://issues.apache.org/jira/browse/OOZIE-686
Project: Oozie
Issue Type: Bug
Reporter: Angelo K. Huang
Assignee: Angelo K. Huang
In JavaActionExecutor, we update action start after submit hadoop job which
caused action start time is later than hadoop submission time. We should move
startTime update earilier.
context.setStartData(launcherId, jobTracker, consoleUrl);
public void setStartData(String externalId, String trackerUri, String
consoleUrl) {
setExternalId(ParamChecker.notEmpty(externalId, "externalId"));
setTrackerUri(ParamChecker.notEmpty(trackerUri, "trackerUri"));
setConsoleUrl(ParamChecker.notEmpty(consoleUrl, "consoleUrl"));
Date now = new Date();
setStartTime(now);
setLastCheckTime(now);
setStatus(Status.RUNNING);
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira