Skip to content

Commit

Permalink
SPARK-1583: Fix a bug that using java.util.HashMap by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Apr 23, 2014
1 parent 39f85e0 commit 7bfd74d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class BlockManagerMasterActor(val isLocal: Boolean, conf: SparkConf, listenerBus
val locations = blockLocations.get(blockId)
locations -= blockManagerId
if (locations.size == 0) {
blockLocations.remove(locations)
blockLocations.remove(blockId)
}
}
listenerBus.post(SparkListenerBlockManagerRemoved(blockManagerId))
Expand Down

0 comments on commit 7bfd74d

Please sign in to comment.