[fix][sec][branch-4.2] Upgrade Hadoop to 3.5.0#26194
Merged
shibd merged 1 commit intoJul 15, 2026
Merged
Conversation
coderzc
approved these changes
Jul 15, 2026
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.
Motivation
Hadoop 3.5.0 is the first stable release of the Hadoop 3.5 line and contains 485 fixes and improvements since Hadoop 3.4. This backport aligns
branch-4.2with the Hadoop version already adopted on Pulsarmasterin #25402 and picks up the following security fixes recorded in the Hadoop 3.5.0 changelog:Some transitive dependency versions can still be overridden by Pulsar dependency management; the list above describes fixes included by the upstream Hadoop release rather than claiming that every listed library version is exposed unchanged in Pulsar.
Modifications
hadoop3.versionfrom 3.4.3 to 3.5.0.LICENSEorNOTICEupdate is required: the generated Pulsar binary distribution passessrc/check-binary-license.sh, and the Hadoop artifacts remain packaged in the existing NAR dependency layout.Verifying this change
This change is already covered by existing tests and was verified with:
mvn -B -T 2 -ntp -Pcore-modules,-main clean install -DskipTests -Dlicense.skip=true -Drat.skip=true -Dcheckstyle.skip=truemvn -B -ntp -pl tiered-storage/file-system,pulsar-io/hdfs3 test -Dlicense.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true(32 tests, 0 failures, 0 errors, 3 skipped)mvn -B -ntp -pl tiered-storage/file-system,pulsar-io/hdfs3 package -DskipTests -Dlicense.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=truesrc/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gzThe generated filesystem tiered-storage and HDFS3 NAR files contain the Hadoop 3.5.0 artifacts.
Does this pull request potentially affect one of the following parts: