Skip to content
Snippets Groups Projects
Commit 5bc0e869 authored by jloew2's avatar jloew2
Browse files

Merge branch 'evict-by-size' of gitlab.engr.illinois.edu:cs525-sp18-g07/spark into evict-by-size

parents 5275a5cf b57ecec5
No related branches found
No related tags found
No related merge requests found
...@@ -399,9 +399,13 @@ private[spark] class MemoryStore( ...@@ -399,9 +399,13 @@ private[spark] class MemoryStore(
val origEntry = entries.get(blockId) val origEntry = entries.get(blockId)
print("Hello, world!\n") print("Hello, world!\n")
logInfo(s"blockId: $blockId") logInfo(s"blockId: $blockId")
print("402\n")
if (origEntry != null) { if (origEntry != null) {
print("404\n")
blockIdAndSizeSet -= new OurBlockIdAndSizeType(blockId, origEntry.size) blockIdAndSizeSet -= new OurBlockIdAndSizeType(blockId, origEntry.size)
print("406\n")
} }
print("408\n")
entries.remove(blockId) entries.remove(blockId)
} }
if (entry != null) { if (entry != null) {
......
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