Skip to content

Commit

Permalink
Remove task from heart beat monitor when container finished (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston authored Aug 17, 2021
1 parent 9420681 commit f8daf80
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,7 @@ private void processFinishedContainer(ContainerId containerId, int exitStatus, S

LOG.info("Container " + containerId + " for task " + task + " finished with exitStatus " + exitStatus + ".");
session.onTaskCompleted(task.getJobName(), task.getTaskIndex(), exitStatus, diagnosticMessage);
hbMonitor.unregister(task);

scheduler.registerDependencyCompleted(task.getJobName());
if (ContainerExitStatus.SUCCESS != exitStatus) {
Expand Down

0 comments on commit f8daf80

Please sign in to comment.