Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI apache#4267] Show warning if SessionHandle is invalid
### _Why are the changes needed?_ If SessionManager tries to close a session, that was previously closed - it throws an error `org.apache.kyuubi.KyuubiSQLException: Invalid SessionHandle` which causes spark session exit with non-zero code. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [X] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes apache#4386 from hanna-liashchuk/catch-invalid-sessionhandle. Closes apache#4267 bf364ba [Hanna Liashchuk] Show warning if SessionHandle is invalid Authored-by: Hanna Liashchuk <g.liashchuk@temabit.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
- Loading branch information