Skip to content

[azure] FileSystem should be cached by authority#8816

Merged
JingsongLi merged 1 commit into
apache:masterfrom
thswlsqls:fix/azure-cache-filesystem-by-authority
Jul 23, 2026
Merged

[azure] FileSystem should be cached by authority#8816
JingsongLi merged 1 commit into
apache:masterfrom
thswlsqls:fix/azure-cache-filesystem-by-authority

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Purpose

fix #8815

Tests

  • No unit test added: this filesystem adapter has no src/test and createFileSystem requires a live Azure backend, consistent with the sibling oss/s3/gs/obs fixes which merged without unit tests.
  • mvn -pl paimon-filesystems/paimon-azure-impl -DfailIfNoTests=false clean install — BUILD SUCCESS (JDK 11).

HadoopCompliantFileIO cached the FileSystem of the first accessed
authority in a single instance field and returned it for all
subsequent paths, misrouting file operations across multiple ABFS
accounts/containers to the first authority's FileSystem. Cache by
authority in a Map, matching the sibling oss/s3/gs/obs (apache#8589) fixes.

Generated-by: Claude Code
@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 0e80c0e into apache:master Jul 23, 2026
11 of 12 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.

[Bug] Azure FileSystem is not cached by authority, misrouting multi-account access

2 participants