kyuubi/externals
fwang12 e8db3da440 [KYUUBI #4838] Fix spark operation exception leak in withLocalProperties method
### _Why are the changes needed?_

For `ExecutePython` operation.
474f0972a4/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecutePython.scala (L139-L141)

If exception thrown in `withLocalProperties` method(for example, python worker is died), the operation will be stuck in pending state forever.
<img width="1314" alt="image" src="https://github.com/apache/kyuubi/assets/6757692/2929f0e4-dc64-4aa4-8d3e-e9d858f8e683">

We need to catch exception thrown in `withLocalProperties` method.

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [x] Add screenshots for manual tests if appropriate

After this pr:
<img width="1479" alt="image" src="https://github.com/apache/kyuubi/assets/6757692/e17aadfe-81a3-4ec7-a595-26eb978dd2b0">

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4838 from turboFei/exception_leak.

Closes #4838

5544691ef [fwang12] fix operation exception leak

Authored-by: fwang12 <fwang12@ebay.com>
Signed-off-by: fwang12 <fwang12@ebay.com>
2023-05-15 10:41:19 +08:00
..
kyuubi-chat-engine [KYUUBI #4810] [CHAT] Request and use a sginle choice for chat completion 2023-05-10 11:53:14 +08:00
kyuubi-download [KYUUBI #4348] [INFRA] Cache engine archives in CI jobs for maven download plugin 2023-02-18 22:34:02 +08:00
kyuubi-flink-sql-engine [KYUUBI #4792] [MINOR] Enhance hardcode session keywords and remove unused code 2023-05-12 08:30:18 +08:00
kyuubi-hive-sql-engine [KYUUBI #4739] Add operation lock instead of locking state Enumeration 2023-04-21 10:49:21 +08:00
kyuubi-jdbc-engine [KYUUBI #4739] Add operation lock instead of locking state Enumeration 2023-04-21 10:49:21 +08:00
kyuubi-spark-sql-engine [KYUUBI #4838] Fix spark operation exception leak in withLocalProperties method 2023-05-15 10:41:19 +08:00
kyuubi-trino-engine [KYUUBI #4792] [MINOR] Enhance hardcode session keywords and remove unused code 2023-05-12 08:30:18 +08:00