Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2525] fix(catalog-hive): Fix ClassNotFoundError in the Caffeine removal listener #2622

Conversation

jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

Close HiveClientPool before closing the class loader as the removal listener is asynchronous and can't make this guarantee.

Why are the changes needed?

It's bugs that need to be fixed.

Fix: #2525

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Test locally.

…oval listener (#2600)

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

Close `HiveClientPool` before closing the class loader as the removal
listener is asynchronous and can't make this guarantee.

### Why are the changes needed?

It's bugs that need to be fixed.

Fix: #2525 

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

N/A.

### How was this patch tested?

Test locally.
@jerryshao jerryshao added cherry-pick need backport Issues that need to backport to another branch labels Mar 21, 2024
Copy link

github-actions bot commented Mar 21, 2024

Code Coverage Report

Overall Project 60.8% 🟢
Files changed 100% 🟢

Module Coverage
core 76.22% 🟢
catalog-hive 68.08% 🟢
Files
Module File Coverage
core ClientPoolImpl.java 72.95% 🟢
catalog-hive CachedClientPool.java 81.2% 🟢

Copy link
Contributor

@yuqi1129 yuqi1129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuqi1129 yuqi1129 merged commit 0009353 into branch-0.4 Mar 21, 2024
12 checks passed
@yuqi1129 yuqi1129 deleted the cherry-pick-branch-0.4-f139f497777502853e6841163d74790f2dc15ae1 branch March 21, 2024 06:20
@yuqi1129 yuqi1129 changed the title [#2525] fix(catalog-hive): Fix classNotFoundError in the Caffeine removal listener [#2525] fix(catalog-hive): Fix ClassNotFoundError in the Caffeine removal listener Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants