Skip to content
Snippets Groups Projects
Commit b8cb548a authored by Josh Rosen's avatar Josh Rosen Committed by Andrew Or
Browse files

[SPARK-10985][CORE] Avoid passing evicted blocks throughout BlockManager

This patch refactors portions of the BlockManager and CacheManager in order to avoid having to pass `evictedBlocks` lists throughout the code. It appears that these lists were only consumed by `TaskContext.taskMetrics`, so the new code now directly updates the metrics from the lower-level BlockManager methods.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #10776 from JoshRosen/SPARK-10985.
parent 302bb569
No related branches found
No related tags found
No related merge requests found
Showing
with 170 additions and 241 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment