Skip to content

Commit e9145e8

Browse files
committed
Edit spilling log from MB to B
1 parent da761c2 commit e9145e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)