-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-12165][SPARK-12189] Fix bugs in eviction of storage memory by execution #10170
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
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
012cb4b
Reset ensureFreeSpaceCalled before each test.
JoshRosen b519fe6
Add regression test for storage eviction bug.
JoshRosen 7c68ca0
Add MemoryStore.freeSpaceForExecution() method, which forces blocks t…
JoshRosen 5384117
Remove a layer of confusing inheritance.
JoshRosen 13ba7ad
Put fail-fast for non-fitting blocks earlier in call chain.
JoshRosen eec4f6c
Collapse ensureFreeSpace overloads
JoshRosen 2dc842a
Replace ensureFreeSpace() with evictBlocksToFreeSpace().
JoshRosen 0eac7da
Update JIRA in test case.
JoshRosen b82ee14
Rewrite unroll test after changes in eviction
528cd85
Clarify regression test for SPARK-12165
d182bdc
Merge pull request #8 from andrewor14/josh-unroll-tests
JoshRosen e48ef21
Incorporate Andrew's redability suggestions.
JoshRosen 994585f
maxMemory -> maxStorageMemory in check for blocks that can never fit
JoshRosen f6fb406
Avoid double-add to evictedBlocks.
JoshRosen 52b544c
was -> were
JoshRosen e2090d1
Add comments to explain potentially-confusing 1-byte block eviction t…
JoshRosen a43ed34
Push evictedBlocks checks into assertEvictBlocksToFreeSpaceNotCalled.
JoshRosen 855c0bc
Fix unroll semantics to match old behavior
7e9e191
Merge pull request #9 from andrewor14/josh-unroll-tests
JoshRosen 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
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
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
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
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
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
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.
+1 to this change. It's much less brittle!