Skip to content

Commit 0a2d9a1

Browse files
author
Andrew Or
committed
Add TODO in JsonProtocol
1 parent f3723c4 commit 0a2d9a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/scala/org/apache/spark/util/JsonProtocol.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ private[spark] object JsonProtocol {
331331
("Total Records Read" -> shuffleReadMetrics.recordsRead)
332332
}
333333

334+
// TODO: Drop the redundant "Shuffle" since it's inconsistent with related classes.
334335
def shuffleWriteMetricsToJson(shuffleWriteMetrics: ShuffleWriteMetrics): JValue = {
335336
("Shuffle Bytes Written" -> shuffleWriteMetrics.bytesWritten) ~
336337
("Shuffle Write Time" -> shuffleWriteMetrics.writeTime) ~

0 commit comments

Comments
 (0)