This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 9c04396 [Bug-5132][server] stop the take immediately if an exception
occurs in the taskExecuteThread (#5133)
9c04396 is described below
commit 9c0439621836b5134b8a7da4e671cb74edc7c31b
Author: xiaojingXU <[email protected]>
AuthorDate: Mon Mar 29 10:41:51 2021 +0800
[Bug-5132][server] stop the take immediately if an exception occurs in the
taskExecuteThread (#5133)
* [DS-5132][fix] stop the take immediately if an exception occurs in the
taskExecuteThread
- let softkill() method return true when the process is stopped,else return
false;
---
.../dolphinscheduler/server/worker/task/AbstractCommandExecutor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 73f2e70..392d279 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
@@ -289,7 +289,7 @@ public abstract class AbstractCommandExecutor {
}
}
- return process.isAlive();
+ return !process.isAlive();
}
/**