chenruotao commented on PR #4854:
URL: https://github.com/apache/hive/pull/4854#issuecomment-1833779007
> in SQLOperation#cleanup we call driver.close before settting it to NULL
>
> ```
> if (driver != null) {
> driver.close();
> driver.destroy();
> }
> driver = null;
> ```
In my test, set driver = null can not stop the compiling thread, only set
aborted = true can interrupt the thread, the thread still run after set null,
and it is the root cause of memory leak in Hive 3
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]