sv2000 commented on a change in pull request #2927: Fix start
URL: https://github.com/apache/incubator-gobblin/pull/2927#discussion_r393920922
##########
File path:
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
##########
@@ -613,9 +613,9 @@ private boolean
killJobIfOrphaned(DagNode<JobExecutionPlan> node, JobStatus jobS
}
ExecutionStatus executionStatus = valueOf(jobStatus.getEventName());
long timeOutForJobStart = DagManagerUtils.getJobStartSla(node);
- long jobStartTime = jobStatus.getStartTime();
+ long jobOrchestrationTime = jobStatus.getOrchestratedTime();
- if (executionStatus == ORCHESTRATED && System.currentTimeMillis() -
jobStartTime > timeOutForJobStart) {
+ if (executionStatus == ORCHESTRATED && System.currentTimeMillis() -
jobOrchestrationTime > timeOutForJobStart) {
Review comment:
Same comment as earlier.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services