@@ -313,8 +313,8 @@ class BlockManagerMasterActor(val isLocal: Boolean, conf: SparkConf, listenerBus
313313}
314314
315315private [spark] case class BlockStatus (
316- storageLevel : StorageLevel ,
317- memSize : Long ,
316+ storageLevel : StorageLevel ,
317+ memSize : Long ,
318318 diskSize : Long ,
319319 tachyonSize : Long )
320320
@@ -339,14 +339,14 @@ private[spark] class BlockManagerInfo(
339339 }
340340
341341 def updateBlockInfo (
342- blockId : BlockId ,
343- storageLevel : StorageLevel ,
342+ blockId : BlockId ,
343+ storageLevel : StorageLevel ,
344344 memSize : Long ,
345- diskSize : Long ,
345+ diskSize : Long ,
346346 tachyonSize : Long ) {
347-
347+
348348 updateLastSeenMs()
349-
349+
350350 if (_blocks.containsKey(blockId)) {
351351 // The block exists on the slave already.
352352 val originalLevel : StorageLevel = _blocks.get(blockId).storageLevel
@@ -355,7 +355,7 @@ private[spark] class BlockManagerInfo(
355355 _remainingMem += memSize
356356 }
357357 }
358-
358+
359359 if (storageLevel.isValid) {
360360 /* isValid means it is either stored in-memory or on-disk.
361361 * But the memSize here indicates the data size in or dropped from memory,
@@ -391,8 +391,8 @@ private[spark] class BlockManagerInfo(
391391 Utils .bytesToString(_remainingMem)))
392392 }
393393 if (blockStatus.storageLevel.useDisk) {
394- logInfo(" Removed %s on %s on disk (size: %s)" .format(
395- blockId, blockManagerId.hostPort, Utils .bytesToString(blockStatus.diskSize)))
394+ logInfo(" Removed %s on %s on disk (size: %s)" .format(
395+ blockId, blockManagerId.hostPort, Utils .bytesToString(blockStatus.diskSize)))
396396 }
397397 if (blockStatus.storageLevel.useTachyon) {
398398 logInfo(" Removed %s on %s on tachyon (size: %s)" .format(
0 commit comments