Skip to content

Commit 946351c

Browse files
committed
Edit spilling log from MB to B
1 parent 484fecb commit 946351c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/util/collection/Spillable.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private[spark] trait Spillable[C] {
105105
*/
106106
@inline private def logSpillage(size: Long) {
107107
val threadId = Thread.currentThread().getId
108-
logInfo("Thread %d spilling in-memory map of %d MB to disk (%d time%s so far)"
109-
.format(threadId, size / (1024 * 1024), _spillCount, if (_spillCount > 1) "s" else ""))
108+
logInfo("Thread %d spilling in-memory map of %d B to disk (%d time%s so far)"
109+
.format(threadId, size, _spillCount, if (_spillCount > 1) "s" else ""))
110110
}
111111
}

0 commit comments

Comments
 (0)