Skip to content

Commit

Permalink
Edit spilling log from MB to B
Browse files Browse the repository at this point in the history
  • Loading branch information
shenh062326 committed Nov 13, 2014
1 parent 484fecb commit 946351c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private[spark] trait Spillable[C] {
*/
@inline private def logSpillage(size: Long) {
val threadId = Thread.currentThread().getId
logInfo("Thread %d spilling in-memory map of %d MB to disk (%d time%s so far)"
.format(threadId, size / (1024 * 1024), _spillCount, if (_spillCount > 1) "s" else ""))
logInfo("Thread %d spilling in-memory map of %d B to disk (%d time%s so far)"
.format(threadId, size, _spillCount, if (_spillCount > 1) "s" else ""))
}
}

0 comments on commit 946351c

Please sign in to comment.