You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/09/16 11:03:07 UTC

[dolphinscheduler] branch 3.0.1-prepare updated: [Fix-11051][Task]Fix the process exitValue exception when the process times out and th… (#11099) (#11983)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 3.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.0.1-prepare by this push:
     new ea8b00fa89 [Fix-11051][Task]Fix the process exitValue exception when the process times out and th… (#11099) (#11983)
ea8b00fa89 is described below

commit ea8b00fa8913679b981d021685d3fe433e1826b1
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Fri Sep 16 19:03:01 2022 +0800

    [Fix-11051][Task]Fix the process exitValue exception when the process times out and th… (#11099) (#11983)
---
 .../dolphinscheduler/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 e5e85a4332..a2401e30fe 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
@@ -196,8 +196,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);
         }