hudi icon indicating copy to clipboard operation
hudi copied to clipboard

[HUDI-7783] Fix connection leak in FileSystemBasedLockProvider

Open xuzifu666 opened this issue 1 year ago • 1 comments

Change Logs

if fs.hdfs.impl.disable.cache is true,FileSystemBasedLockProvider memory would increase all the time to oom due to FileSystem Cache is too large,so we should close fs in close method to aviod memory leak.

Impact

none

Risk level (write none, low medium or high below)

none

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the instruction to make changes to the website.

Contributor's checklist

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

xuzifu666 avatar May 22 '24 11:05 xuzifu666

CI report:

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

hudi-bot avatar May 22 '24 11:05 hudi-bot