-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
HIVE-28601: Leverage configurable getPartitions API in HMS to decrease memory footprint in HS2 #5539
base: master
Are you sure you want to change the base?
Conversation
0f06bdf
to
9863caf
Compare
9863caf
to
b87ca71
Compare
b87ca71
to
f5cd0c7
Compare
f5cd0c7
to
9395708
Compare
9395708
to
2c0d8c5
Compare
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.
+1, pending tests
c2b7308
to
0b39d27
Compare
@deniskuzZ Thank you so much for your review again! |
0b39d27
to
7ce59b0
Compare
The build is green! phew! :') |
…e memory footprint in HS2
7ce59b0
to
0a9bdfb
Compare
Quality Gate passedIssues Measures |
What changes were proposed in this pull request?
Leverage configurable getPartitionsWithSpecs API in HMS to decrease memory footprint in HS2
Why are the changes needed?
The primary motivation behind these changes is to optimize the performance of certain API calls within HS2. These calls often require specific elements, such as say location, without needing the complete storage descriptor in partition object. Transmitting the full object in these cases results in unnecessary overhead and resource consumption. By leveraging the getPartitionsWithSpecs API, we can fetch only the necessary Partition's sub-objects, thereby reducing the memory footprint and hence reducing unnecessary network usage. (A document is added with the jira for more details on how the APIs work, and performance impact it can make)
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
Provided tests and added JUnit test class