From b79bad19e5b0896c5b7290773596dd5f73065331 Mon Sep 17 00:00:00 2001 From: Kerwin <37063904+zhuangchong@users.noreply.github.com> Date: Thu, 11 Aug 2022 09:28:40 +0800 Subject: [PATCH] =?UTF-8?q?[Fix-11051][Task]Fix=20the=20process=20exitValu?= =?UTF-8?q?e=20exception=20when=20the=20process=20times=20out=20and=20th?= =?UTF-8?q?=E2=80=A6=20(#11099)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/task/api/AbstractCommandExecutor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java index 6209ee45c6..9efd33f6dd 100644 --- a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java +++ b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java @@ -230,8 +230,7 @@ public abstract class AbstractCommandExecutor { result.setExitStatusCode(process.exitValue()); } else { - logger.error("process has failure , exitStatusCode:{}, processExitValue:{}, ready to kill ...", - result.getExitStatusCode(), process.exitValue()); + logger.error("process has failure, the task timeout configuration value is:{}, ready to kill ...", taskRequest.getTaskTimeout()); ProcessUtils.kill(taskRequest); result.setExitStatusCode(EXIT_CODE_FAILURE); }