Skip to content

[fix][sec][branch-4.2] Upgrade Hadoop to 3.5.0#26194

Merged
shibd merged 1 commit into
apache:branch-4.2from
shibd:codex/upgrade-hadoop-3.5.0-branch-4.2
Jul 15, 2026
Merged

[fix][sec][branch-4.2] Upgrade Hadoop to 3.5.0#26194
shibd merged 1 commit into
apache:branch-4.2from
shibd:codex/upgrade-hadoop-3.5.0-branch-4.2

Conversation

@shibd

@shibd shibd commented Jul 15, 2026

Copy link
Copy Markdown
Member

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.2 with the Hadoop version already adopted on Pulsar master in #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

  • Upgrade hadoop3.version from 3.4.3 to 3.5.0.
  • This updates the Hadoop 3 dependencies shared by the HDFS connector, filesystem tiered-storage plugin, and related test/minicluster modules.
  • No LICENSE or NOTICE update is required: the generated Pulsar binary distribution passes src/check-binary-license.sh, and the Hadoop artifacts remain packaged in the existing NAR dependency layout.

Verifying this change

  • Make sure that the change passes the CI checks.

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=true
  • mvn -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=true
  • src/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gz

The 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:

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

@shibd shibd requested a review from lhotari July 15, 2026 03:55
@shibd shibd marked this pull request as ready for review July 15, 2026 03:56
@shibd shibd merged commit 7d790b0 into apache:branch-4.2 Jul 15, 2026
95 of 98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants