Skip to content

Commit 7852abe

Browse files
authored
[SPARK-21953] Show both memory and disk bytes spilled if either is present
1 parent dbb8241 commit 7852abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/jobs/UIData.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private[spark] object UIData {
109109
def hasOutput: Boolean = outputBytes > 0
110110
def hasShuffleRead: Boolean = shuffleReadTotalBytes > 0
111111
def hasShuffleWrite: Boolean = shuffleWriteBytes > 0
112-
def hasBytesSpilled: Boolean = memoryBytesSpilled > 0 && diskBytesSpilled > 0
112+
def hasBytesSpilled: Boolean = memoryBytesSpilled > 0 || diskBytesSpilled > 0
113113
}
114114

115115
/**

0 commit comments

Comments
 (0)