Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.1.0
-
None
Description
The log info"Added %s in memory on %s (size: %s, free: %s)" in function "org.apache.spark.storage.BlockManagerInfo.updateBlockInfo" is not accurate if the block exists on the slave already;
the current code is:
if (storageLevel.useMemory)
If the block exists on the slave already, the added memory should be memSize - originalMemSize, the originalMemSize is _blocks.get(blockId).memSize