HIVE-29518: Upgrade jackson to 2.18.6 due to GHSA-72hv-8253-57qq#6385
Open
Manya0407 wants to merge 1 commit intoapache:masterfrom
Open
HIVE-29518: Upgrade jackson to 2.18.6 due to GHSA-72hv-8253-57qq#6385Manya0407 wants to merge 1 commit intoapache:masterfrom
Manya0407 wants to merge 1 commit intoapache:masterfrom
Conversation
8dfe303 to
202480b
Compare
202480b to
09e1162
Compare
09e1162 to
dc96d7c
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes were proposed in this pull request?
This PR upgrades Jackson to 2.18.6 across the Hive codebase. The only change is in storage-api/pom.xml:
Added jackson.version property set to 2.18.6
Imported jackson-bom in dependencyManagement to override transitive Jackson versions from hadoop-common (which brings in Jackson 2.12.7.1)
The root pom.xml and standalone-metastore/pom.xml already had jackson.version 2.18.6 and jackson-bom; no edits were made there.
Why are the changes needed?
storage-api uses org.apache:apache as its parent, not the Hive root POM, so it does not inherit the root’s Jackson dependency management. It pulls in Jackson transitively from hadoop-common (2.12.7.1). Adding jackson-bom in storage-api’s dependencyManagement forces all Jackson artifacts to resolve to 2.18.6 for security and consistency across the project.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manual testing