[SPARK-10985][CORE] Avoid passing evicted blocks throughout BlockManager#10776
Closed
JoshRosen wants to merge 9 commits intoapache:masterfrom
Closed
[SPARK-10985][CORE] Avoid passing evicted blocks throughout BlockManager#10776JoshRosen wants to merge 9 commits intoapache:masterfrom
JoshRosen wants to merge 9 commits intoapache:masterfrom
Conversation
|
Test build #49484 has finished for PR 10776 at commit
|
Contributor
Author
There was a problem hiding this comment.
I plan to move this call closer to the eviction site itself (i.e. perform this call inside either the memory store or the block manager itself rather than here).
Contributor
Author
There was a problem hiding this comment.
This update has been pushed further down into the BlockManager code. See the changes to doPut(). The same holds for the putIterator() call above.
Contributor
Author
|
@andrewor14 @rxin, this should now be ready for review. |
|
Test build #49581 has finished for PR 10776 at commit
|
Contributor
There was a problem hiding this comment.
not clear what this means, maybe success or putSuccess?
Contributor
|
Merged into master. |
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.
This patch refactors portions of the BlockManager and CacheManager in order to avoid having to pass
evictedBlockslists throughout the code. It appears that these lists were only consumed byTaskContext.taskMetrics, so the new code now directly updates the metrics from the lower-level BlockManager methods.