From b4017d0afd29f2ccd497713d8a448125baf93313 Mon Sep 17 00:00:00 2001 From: caishunfeng Date: Tue, 19 Apr 2022 15:26:12 +0800 Subject: [PATCH] fix task kill (#9578) --- .../server/worker/processor/TaskCallbackService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java b/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java index 9a0e8943d6..c3eb07b2ad 100644 --- a/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java +++ b/dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackService.java @@ -256,6 +256,5 @@ public class TaskCallbackService { public void sendTaskKillResponseCommand(TaskExecutionContext taskExecutionContext) { TaskKillResponseCommand taskKillResponseCommand = buildKillTaskResponseCommand(taskExecutionContext); send(taskExecutionContext.getTaskInstanceId(), taskKillResponseCommand.convert2Command()); - TaskCallbackService.remove(taskExecutionContext.getTaskInstanceId()); } }