From fccbcc8d7df592cc591568f6e7b328abdbce7602 Mon Sep 17 00:00:00 2001 From: Rubik <39549317+wenhemin@users.noreply.github.com> Date: Fri, 7 Feb 2020 16:13:50 +0800 Subject: [PATCH] fix: The constructor has passed in an taskAppId, no need to get from taskAppId. (#1906) --- .../server/worker/task/AbstractCommandExecutor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java index 0c62f0648a..04098215dd 100644 --- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java +++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java @@ -147,9 +147,6 @@ public abstract class AbstractCommandExecutor { // get process id int pid = getProcessId(process); - // task instance id - int taskInstId = Integer.parseInt(taskAppId.split("_")[2]); - processDao.updatePidByTaskInstId(taskInstId, pid, ""); logger.info("process start, process id is: {}", pid);