Added correct thread naming to compactor threads#6144
Merged
ddanielr merged 2 commits intoapache:2.1from Feb 24, 2026
Merged
Conversation
Sets the thread name based on the compaction type instead of defaulting to MajC.
keith-turner
approved these changes
Feb 23, 2026
dlmarion
approved these changes
Feb 23, 2026
server/compactor/src/main/java/org/apache/accumulo/compactor/ExtCEnv.java
Outdated
Show resolved
Hide resolved
Compactors are single threaded and only run major compactions so MajC thread names are still accurate.
keith-turner
approved these changes
Feb 23, 2026
dlmarion
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets the thread name prefix based on the compaction type instead of defaulting to MajC.
I looked at using the existing CompactionType enum but it's in the public API.
accumulo/core/src/main/java/org/apache/accumulo/core/client/admin/ActiveCompaction.java
Lines 30 to 50 in cf57e34
The goal is to name the MinC and MajC threads correctly for troubleshooting.