aplex commented on a change in pull request #3286:
URL: https://github.com/apache/gobblin/pull/3286#discussion_r638237543
##########
File path:
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/AbstractJobLauncher.java
##########
@@ -598,7 +598,7 @@ public void apply(JobListener jobListener, JobContext
jobContext)
}
});
- if (jobState.getState() == JobState.RunningState.FAILED) {
+ if (jobState.getState() == JobState.RunningState.FAILED ||
jobState.getState() == JobState.RunningState.CANCELLED) {
Review comment:
Is there another bug in "else" branch below? It creates a
"JOB_SUCCEEDED" event, but the listener is calling "onJobFailure" event. Also
the same logic is a coupe of blocks above.
--
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]