Skip to content

Conversation

@joeyutong
Copy link
Contributor

What changes were proposed in this pull request?

This PR backports #9617 to branch 1.1

…lose (apache#9617)

<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
   Examples:
     - "[apache#123] feat(operator): support xxx"
     - "[apache#233] fix: check null before access result in xxx"
     - "[MINOR] refactor: fix typo in variable name"
     - "[MINOR] docs: fix typo in README"
     - "[apache#255] test: fix flaky test NameOfTheTest"
   Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->

### What changes were proposed in this pull request?

This PR performs actual resource cleanup in `HiveClientPool.close`

### Why are the changes needed?

Any code path in the current implementation that close the pool via
`ClientPoolImpl.close()` will cause the connection leaks because the
HiveClientPool.close is a no-op.

Fix: apache#9581

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Add UTs.
@joeyutong
Copy link
Contributor Author

cc @diqiu50

@jerqi jerqi merged commit dce04fe into apache:branch-1.1 Jan 14, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants