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
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)