Skip to content

[HUDI-9355] Avoid calling FileSystem#close in HoodieHadoopStorage#13243

Merged
danny0405 merged 1 commit intoapache:masterfrom
yihua:HUDI-9355-fix-fs-close
May 1, 2025
Merged

[HUDI-9355] Avoid calling FileSystem#close in HoodieHadoopStorage#13243
danny0405 merged 1 commit intoapache:masterfrom
yihua:HUDI-9355-fix-fs-close

Conversation

@yihua
Copy link
Contributor

@yihua yihua commented Apr 30, 2025

Change Logs

This PR removes FileSystem#close in HoodieHadoopStorage#close. If the underlying FileSystem object is closed, the cache of the object based on the path is closed and removed, which causes problems if the object is reused elsewhere.

Impact

Fixes FileSystem object usage.

Risk level

none

Documentation Update

N/A

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Apr 30, 2025
@hudi-bot
Copy link
Collaborator

CI report:

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

@danny0405 danny0405 merged commit 6bcee85 into apache:master May 1, 2025
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S PR with lines of changes in (10, 100]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants