ruanwenjun opened a new pull request, #7294:
URL: https://github.com/apache/kyuubi/pull/7294

   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://kyuubi.readthedocs.io/en/master/contributing/code/index.html
     2. If the PR is related to an issue in 
https://github.com/apache/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, 
e.g., '[KYUUBI #XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP][KYUUBI #XXXX] Your PR title ...'.
   -->
   
   ### Why are the changes needed?
   When we close a kyuubi session, if the engine session(thrift client) has not 
initialized, then the kyuubi session will be closed, but the engine session 
might be alive, then will result in a resource leak.
   
   
   ### How was this patch tested?
   Can be tested by when the engine pod is pending, and then kill the jdbc 
client, the driver pod should be killed after initialized.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   NO
   
   


-- 
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]

Reply via email to