Skip to content

[FLINK-39499][tests] Replace MinIO with SeaweedFS#28369

Open
Efrat19 wants to merge 6 commits into
apache:masterfrom
Efrat19:FLINK-39499-c
Open

[FLINK-39499][tests] Replace MinIO with SeaweedFS#28369
Efrat19 wants to merge 6 commits into
apache:masterfrom
Efrat19:FLINK-39499-c

Conversation

@Efrat19

@Efrat19 Efrat19 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

The minio repo was archived on 25.4.26. This PR aims to refactor our tests to use SeaweedFS instead of MinIO to address the recent MinIO deprecation and its lack of S3-read API support.

Brief change log

  • Switched from minio to seaweedFS in flink-filesystems tests
  • Switched from minio to seaweedFS in flink e2e tests, and adapted e2e scripts to use S3-API instead of local filesystem
  • Introduced S3-read testing to the nightlies, by enabling 2 tests: presto_seaweedfs_read and hadoop_seaweedfs

Verifying this change

This change is covered by refactoring existing tests, such as:

  • org.apache.flink.fs.s3.common.SeaweedFsTestContainerTest
  • org.apache.flink.fs.s3.common.HAApplicationRunOnSeaweedFsS3StoreITCase
  • org.apache.flink.fs.s3.common.HAJobRunOnSeaweedFsS3StoreITCase
  • org.apache.flink.fs.s3.common.S5CmdOnSeaweedFsITCase
  • presto_seaweedfs_read
  • hadoop_seaweedfs

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

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

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? flink-filesystems/flink-s3-fs-native docs were updated to reflect the change from MinIO to SeaweedFS.

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    Generated-by: Claude Opus 4.8

Efrat19 added 2 commits June 9, 2026 21:48
…minio replacement

Following the recent deprecation of minIO
…ink-filesystems

Following the recent deprecation of minIO
@flinkbot

flinkbot commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

CI report:

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

@Efrat19

Efrat19 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

4 similar comments
@Efrat19

Efrat19 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

@Efrat19

Efrat19 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

@Efrat19

Efrat19 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

@Efrat19

Efrat19 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

Efrat19 added 2 commits June 11, 2026 15:06
Unlike MiniIO, seaweedFS isn't backed by filesystem, so we need to create the s3 manually, remove the mount, and read the number of lines using regular s3 apis (i.e not overwrites get_total_number_of_valid_lines implementation for local runs)
@Efrat19

Efrat19 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

@Efrat19

Efrat19 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

Unlike MinIO, SeaweedFS supports the s3 API so s3-reading tests can now be enabled, with a note that while hadoop_seaweedfs test is bidirectional, presto_seaweedfs_read only reads from s3, as RecoverableWriter isn't supported by presto, and local filesystem reading isn't supported by seaweedFS (only S3 API)
@Efrat19 Efrat19 changed the title [FLINK-39499] Replace MinIO with SeaweedFS [FLINK-39499][tests] Replace MinIO with SeaweedFS Jun 14, 2026
@Efrat19 Efrat19 marked this pull request as ready for review June 14, 2026 16:05
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