Skip to content

Commit 5331053

Browse files
committed
[SPARK-30604 Add HostLocalBlock size in log total bytes]
1 parent 8f7f4d5 commit 5331053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ final class ShuffleBlockFetcherIterator(
317317
collectFetchRequests(address, blockInfos, collectedRemoteRequests)
318318
}
319319
}
320-
val totalBytes = localBlockBytes + remoteBlockBytes
320+
val totalBytes = localBlockBytes + remoteBlockBytes + hostLocalBlockBytes
321321
logInfo(s"Getting $numBlocksToFetch (${Utils.bytesToString(totalBytes)}) non-empty blocks " +
322322
s"including ${localBlocks.size} (${Utils.bytesToString(localBlockBytes)}) local and " +
323323
s"${hostLocalBlocks.size} (${Utils.bytesToString(hostLocalBlockBytes)}) " +

0 commit comments

Comments
 (0)