Browse Source

[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;
pull/3/MERGE
xiaojingXU 4 years ago committed by GitHub
parent
commit
9c04396218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java

2
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();
}
/**

Loading…
Cancel
Save