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-24191: Introduce configurable user to run compaction as #1518

Merged
merged 4 commits into from Sep 24, 2020

Conversation

klcopp
Copy link
Contributor

@klcopp klcopp commented Sep 23, 2020

What changes were proposed in this pull request?

Add a restricted config.

Why are the changes needed?

Sometimes we want to run compaction as a specific user.

Does this PR introduce any user-facing change?

Admin can optionally specify a user that will run compaction and list files in compaction Initiator and Cleaner.

How was this patch tested?

Unit tests

@klcopp klcopp requested a review from pvary September 23, 2020 11:45
@klcopp klcopp changed the title Hive 24191: Introduce configurable user to run compaction as HIVE-24191: Introduce configurable user to run compaction as Sep 23, 2020
… Compactor thread configs can't be changed without a HS2/HMS restart
@klcopp
Copy link
Contributor Author

klcopp commented Sep 23, 2020

As discussed with @pvary offline: Restricting isn't needed because the Initiator/Worker/Cleaner configs can't be changed without restarting HMS (or HS2 if applicable)

@klcopp klcopp merged commit 4789305 into apache:master Sep 24, 2020
@klcopp klcopp deleted the HIVE-24191 branch September 24, 2020 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants