Skip to content
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

HIVE-26376: HMS leaks filesystem objects (memory) when using StorageBasedAuthorizationProvider #3424

Closed
wants to merge 1 commit into from

Conversation

zabetak
Copy link
Contributor

@zabetak zabetak commented Jul 8, 2022

What changes were proposed in this pull request?

Close filesystem references in StorageBasedAuthorizationProvider after use.

Why are the changes needed?

To prevent leaving filesystem objects and hitting OOM error see HIVE-26376 for more details.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manual tests.

…asedAuthorizationProvider

The filesystems that are opened in StorageBasedAuthorizationProvider#checkPermissions
method are not closed thus remain in FileSystem.CACHE forever.
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@github-actions github-actions bot added the stale label Sep 10, 2022
@github-actions github-actions bot closed this Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants