Flink: Add FlinkFileSystemFileIO delegating to Flink's FileSystem - #16411
Open
wombatu-kun wants to merge 2 commits into
Open
Flink: Add FlinkFileSystemFileIO delegating to Flink's FileSystem#16411wombatu-kun wants to merge 2 commits into
wombatu-kun wants to merge 2 commits into
Conversation
wombatu-kun
force-pushed
the
issue/15352-flink-filesystem-fileio
branch
2 times, most recently
from
June 10, 2026 01:50
e50b69e to
16a2159
Compare
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions. |
wombatu-kun
force-pushed
the
issue/15352-flink-filesystem-fileio
branch
from
August 11, 2026 06:02
16a2159 to
a51504c
Compare
3 tasks
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Generated-by: Claude Opus 5 (1M context)
wombatu-kun
force-pushed
the
issue/15352-flink-filesystem-fileio
branch
from
September 10, 2026 03:59
a51504c to
9a674e6
Compare
…rPool Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199zqP4fzgJdmPufkMaiamu Generated-by: Claude Code
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 & why
Resolves #15352.
Flink ships pluggable FileSystem implementations (S3, HDFS, GCS, ...) that a Flink job already configures once for checkpoints and savepoints, including delegation-token and plugin-based authentication. Until now an Iceberg-on-Flink user had to separately re-configure Iceberg's FileIO for the same storage. FlinkFileSystemFileIO is a FileIO that discovers and delegates to Flink's FileSystem, removing the duplicate configuration and inheriting Flink FileSystem features such as delegation tokens (only the JobManager authenticates with Kerberos; TaskManagers reuse the token).
It is opt-in via the catalog's io-impl property (CatalogProperties.FILE_IO_IMPL) and must not be set through table properties, since other engines cannot use Flink's FileSystem. There are no core/api changes, so core stays engine-agnostic.
This revives #10151 by @pvary, which was closed only by the stale bot for inactivity, and targets the default Flink line (2.1) with a few modernizations:
Follow-up PRs will port the same change to the other supported Flink lines (1.20 and 2.0).
Tests
TestFlinkFileSystemFileIO (added for v2.1): list-prefix at scale, file existence, prefix delete, bulk delete + bulk-delete error handling, read/write roundtrip, and Flink Kryo + Java serialization. All 8 tests pass on the v2.1 tree; spotlessApply and checkstyle (main + test) pass.
Closes #15352
AI Disclosure