Skip to content

Commit

Permalink
address arron's comment on inTachyonSize
Browse files Browse the repository at this point in the history
  • Loading branch information
RongGu committed Apr 3, 2014
1 parent 120e48a commit 8adfcfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private[spark] class BlockManager(
if (info.tellMaster) {
val storageLevel = status.storageLevel
val inMemSize = Math.max(status.memSize, droppedMemorySize)
val inTachyonSize = Math.max(status.tachyonSize, droppedMemorySize)
val inTachyonSize = status.tachyonSize
val onDiskSize = status.diskSize
master.updateBlockInfo(
blockManagerId, blockId, storageLevel, inMemSize, onDiskSize, inTachyonSize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ private[spark] class BlockManagerInfo(
}

if (storageLevel.isValid) {
/* isValid means it is either stored in-memory or on-disk.
/* isValid means it is either stored in-memory, on-disk or on-Tachyon.
* But the memSize here indicates the data size in or dropped from memory,
* tachyonSize here indicates the data size in or dropped from Tachyon,
* and the diskSize here indicates the data size in or dropped to disk.
Expand Down

0 comments on commit 8adfcfa

Please sign in to comment.