Skip to content

Conversation

ctrlaltdilj
Copy link

@ctrlaltdilj ctrlaltdilj commented Sep 23, 2025

What is the purpose of the change

Hadoop 3.4.X introduced 2500+ bug fixes and support for AWS SDK V2. Note AWS SDK V1 is EOL 12/31/2025.

One challenge is maintaining support for presto which is using AWS SDK V1 and is not updated just yet, While Hadoop 3.4.X has support for AWS SDK V1 there are a couple wrapper classes need to support the SDK changes and maintain support for Presto's AWS SDK V1 and support Hadoop's AWS SDK V2 upgrade.

Brief change log

  • update hadoop to 3.4.2
  • provide wrapper classes to support AWS SDK V1/V2

Verifying this change

Please make sure both new and modified tests in this PR follow the conventions for tests defined in our code quality guide.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (100MB)
  • Extended integration test for recovery after master (JobManager) failure
  • Added test that validates that TaskInfo is transferred only once across recoveries
  • Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@ctrlaltdilj ctrlaltdilj changed the title Upgrade hadoop [FLINK-30975] Upgrade hadoop to start adding support for AWS SDK V2 Sep 23, 2025
@ctrlaltdilj ctrlaltdilj changed the title [FLINK-30975] Upgrade hadoop to start adding support for AWS SDK V2 [FLINK-30975] Upgrade hadoop to 3.4.X Sep 23, 2025
@flinkbot
Copy link
Collaborator

flinkbot commented Sep 23, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@ctrlaltdilj ctrlaltdilj marked this pull request as draft September 23, 2025 03:37
@ctrlaltdilj ctrlaltdilj marked this pull request as ready for review October 4, 2025 17:49
Copy link
Contributor

@Samrat002 Samrat002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensure

  1. Code is compiling, and all integration tests are passing properly
  2. Add proof of code working e2e with S3 filesystem with a sample application

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.

3 participants