Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

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

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