Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/1255#discussion_r14325239
--- Diff:
core/src/main/scala/org/apache/spark/storage/StorageStatusListener.scala ---
@@ -37,7 +37,11 @@ class StorageStatusListener extends SparkListener {
val filteredStatus =
storageStatusList.find(_.blockManagerId.executorId == execId)
filteredStatus.foreach { storageStatus =>
updatedBlocks.foreach { case (blockId, updatedStatus) =>
- storageStatus.blocks(blockId) = updatedStatus
+ if (updatedStatus.storageLevel == StorageLevel.NONE) {
+ storageStatus.blocks.remove(blockId)
--- End diff --
What if a block is replicated on more than one machine... will it have
different ID's in either case? If not, what happens if the block is dropped
multiple times on two different executors.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---