You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/02/18 07:35:08 UTC
[GitHub] [incubator-kyuubi] pan3793 commented on a change in pull request #1815: [KYUUBI #1796] Destroy the process after the engine starts
pan3793 commented on a change in pull request #1815:
URL: https://github.com/apache/incubator-kyuubi/pull/1815#discussion_r809739216
##########
File path: kyuubi-server/src/main/scala/org/apache/kyuubi/engine/ProcBuilder.scala
##########
@@ -190,6 +191,10 @@ trait ProcBuilder {
if (logCaptureThread != null) {
logCaptureThread.interrupt()
}
+ if (!waitCompletion && process != null) {
+ info("Destroy the process, since waitCompletion is false.")
+ process.destroyForcibly()
+ }
}
Review comment:
Let's synchronized the method `close()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org