Skip to content
Snippets Groups Projects
Commit 15287766 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #874 from jerryshao/fix-report-bug

Fix removed block zero size log reporting
parents abdbacf2 f3dbe6b2
No related branches found
No related tags found
No related merge requests found
...@@ -372,12 +372,12 @@ object BlockManagerMasterActor { ...@@ -372,12 +372,12 @@ object BlockManagerMasterActor {
if (blockStatus.storageLevel.useMemory) { if (blockStatus.storageLevel.useMemory) {
_remainingMem += blockStatus.memSize _remainingMem += blockStatus.memSize
logInfo("Removed %s on %s in memory (size: %s, free: %s)".format( logInfo("Removed %s on %s in memory (size: %s, free: %s)".format(
blockId, blockManagerId.hostPort, Utils.bytesToString(memSize), blockId, blockManagerId.hostPort, Utils.bytesToString(blockStatus.memSize),
Utils.bytesToString(_remainingMem))) Utils.bytesToString(_remainingMem)))
} }
if (blockStatus.storageLevel.useDisk) { if (blockStatus.storageLevel.useDisk) {
logInfo("Removed %s on %s on disk (size: %s)".format( logInfo("Removed %s on %s on disk (size: %s)".format(
blockId, blockManagerId.hostPort, Utils.bytesToString(diskSize))) blockId, blockManagerId.hostPort, Utils.bytesToString(blockStatus.diskSize)))
} }
} }
} }
......
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