-
Notifications
You must be signed in to change notification settings - Fork 451
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
Fate reservations moved out of memory #4524
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4a062af
Fate reservations moved out of memory
kevinrr888 e6671fb
Changes:
kevinrr888 8d72860
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 47d16b0
Changes:
kevinrr888 0809fd3
Changed a method call which is available in hadoop 3.3.6 but not in the
kevinrr888 ee6bb88
formatting
kevinrr888 a92095d
Changed a method call which is available in hadoop 3.3.6 but not in the
kevinrr888 be1ac10
Mockito -> EasyMock in MultipleStoresIT
kevinrr888 bc388d5
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 51a7093
Addressed review comments:
kevinrr888 d704555
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 176b9c3
Build fix
kevinrr888 6760035
Changes:
kevinrr888 0447ede
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 d352678
Fixed UserFateStore.createAndReserve()
kevinrr888 bd1f174
Bug fixes and code quality improvements:
kevinrr888 d62c17e
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 367bc7c
Added check to FateStoreIT.testAbsent()
kevinrr888 7df2f82
Trivial change to RowFateStatusFilter
kevinrr888 71227de
Verify err msg contains fate id in MultipleStoresIT
kevinrr888 9d46daa
Removed TODOs for this PR: 'TODO 4131'
kevinrr888 55f02d1
Merge branch 'elasticity' into elasticity-feature-4131
kevinrr888 3557252
removed synchronization block:
kevinrr888 fa73611
Merge branch 'main' into elasticity-feature-4131
kevinrr888 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
351 changes: 145 additions & 206 deletions
351
core/src/main/java/org/apache/accumulo/core/fate/AbstractFateStore.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not looked into it, but need to understand what happens if this thread dies/throws an exception. Accumulo servers processes can designate some threads as critical and that would essentially cause the manager process to die when that is done. May want to do that for this thread, if its not already done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the DeadReservationCleaner dies, the Manager continues to run normally. I changed it to be a critical thread. When looking at this, I noticed that none of the other Fate threads are critical. It seems that maybe they should be? I can create a follow on issue if so. If the WorkFinder or any of the actual workers (TransactionRunner) die, Manager will continue to run normally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be good to open a follow on issue about making all of the fate threads critical.