You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "moelhoussein (via GitHub)" <gi...@apache.org> on 2026/09/20 05:19:08 UTC

[PR] [SERVER] Close sessions for terminated engine applications [kyuubi]

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

   ### Why are the changes needed?
   
   When an engine application terminates, operations can fail with a generic transport error even though Kyuubi already knows the application has stopped.
   
   This patch reports the application details, interrupts pending RPCs, and closes the session when the application state is `FAILED`, `KILLED`, or `FINISHED`. Ambiguous states such as `NOT_FOUND` keep the existing transport-error behavior.
   
   ### How was this patch tested?
   
   ```shell
   build/mvn test -pl kyuubi-server -am -Dtest=none \
     -DwildcardSuites=org.apache.kyuubi.operation.KyuubiOperationSuite
   
   build/mvn test -pl kyuubi-server -am -Dtest=none \
     -DwildcardSuites=org.apache.kyuubi.operation.KyuubiOperationPerConnectionSuite
   ```
   
   Both suites passed: 2/2 and 15/15 tests.
   
   Also ran `dev/reformat` and `git diff --check`.
   
   ### Was this patch assisted by generative AI tooling?
   
   Assisted-by: Cursor with GPT-5.6 Sol
   


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org