ShuffleWriteMetricsReporter¶
ShuffleWriteMetricsReporter
is an abstraction of shuffle write metrics reporters.
Contract¶
decBytesWritten¶
decBytesWritten(
v: Long): Unit
decRecordsWritten¶
decRecordsWritten(
v: Long): Unit
incBytesWritten¶
incBytesWritten(
v: Long): Unit
incRecordsWritten¶
incRecordsWritten(
v: Long): Unit
Used when:
ShufflePartitionPairsWriter
is requested torecordWritten
ShuffleExternalSorter
is requested to writeSortedFileDiskBlockObjectWriter
is requested to record bytes written
incWriteTime¶
incWriteTime(
v: Long): Unit
Used when:
BypassMergeSortShuffleWriter
is requested to write partition records and writePartitionedDataUnsafeShuffleWriter
is requested to mergeSpillsWithTransferToDiskBlockObjectWriter
is requested to commitAndGetTimeTrackingOutputStream
is requested towrite
,flush
, andclose
Implementations¶
- ShuffleWriteMetrics
- SQLShuffleWriteMetricsReporter (Spark SQL)