This is an automated email from the ASF dual-hosted git repository.
jinyleechina pushed a commit to branch 2.0.8-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/2.0.8-prepare by this push:
new c8f8c2bc2f [Fix-11903] [Worker]
org.apache.dolphinscheduler.plugin.task.api.ProcessUtils:[66] - kill task
failed (#13345)
c8f8c2bc2f is described below
commit c8f8c2bc2fb33a405e2b45b30b373209e46da065
Author: Molin Wang <[email protected]>
AuthorDate: Thu Jan 5 16:17:58 2023 +0800
[Fix-11903] [Worker]
org.apache.dolphinscheduler.plugin.task.api.ProcessUtils:[66] - kill task
failed (#13345)
---
.../java/org/apache/dolphinscheduler/plugin/task/api/ProcessUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ProcessUtils.java
b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ProcessUtils.java
index 2f94003fbb..2a728cdadb 100644
---
a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ProcessUtils.java
+++
b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ProcessUtils.java
@@ -43,7 +43,7 @@ public final class ProcessUtils {
/**
* Expression of PID recognition in Windows scene
*/
- private static final Pattern WINDOWSATTERN = Pattern.compile("(\\d+)");
+ private static final Pattern WINDOWSATTERN =
Pattern.compile("\\w+\\((\\d+)\\)");
/**
* kill tasks according to different task types.