Browse Source

Merge pull request #432 from qiaozhanwei/branch-1.0.2

kill pid need kill sub process pids update
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
929399e804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/utils/ProcessUtils.java

2
escheduler-server/src/main/java/cn/escheduler/server/utils/ProcessUtils.java

@ -264,7 +264,7 @@ public class ProcessUtils {
logger.info("process id:{}, cmd:{}", processId, cmd);
Runtime.getRuntime().exec(cmd);
OSUtils.exeCmd(cmd);
// find log and kill yarn job
killYarnJob(taskInstance);

Loading…
Cancel
Save