Skip to content

[MINOR] HFileBootstrapIndex: use try-with-resources in two places#9813

Merged
yihua merged 1 commit intoapache:masterfrom
the-other-tim-brown:minor-hfile-index-closeables
Oct 18, 2023
Merged

[MINOR] HFileBootstrapIndex: use try-with-resources in two places#9813
yihua merged 1 commit intoapache:masterfrom
the-other-tim-brown:minor-hfile-index-closeables

Conversation

@the-other-tim-brown
Copy link
Contributor

Change Logs

Updates two spots in the code to use try-with-resources to properly close the scanner

Impact

Closes resource

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

  • 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

@hudi-bot
Copy link
Collaborator

hudi-bot commented Oct 1, 2023

CI report:

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

@yihua yihua merged commit 9b7e539 into apache:master Oct 18, 2023
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.

4 participants