-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29251: Hive ACID: HiveConf object shouldn't be shared between multiple cleanup tasks #6119
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
base: master
Are you sure you want to change the base?
Conversation
…ltiple cleanup tasks
// increase the size of the configuration or the number of failed compactions. | ||
Assert.assertTrue("Allocated memory, " + diffMem + "bytes , exceeds acceptable variance of 250MB.", | ||
diffMem < 250_000_000); | ||
diffMem < 450_000_000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
increase because of thread-local use in a cleaner task thread
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1
What changes were proposed in this pull request?
Use thread-local HiveConf objects
Why are the changes needed?
Does this PR introduce any user-facing change?
No
How was this patch tested?
locally with multiple threads