ShuffleWriteMetrics¶
ShuffleWriteMetrics
is a ShuffleWriteMetricsReporter of metrics (accumulators) related to writing shuffle data (in shuffle map tasks):
- Shuffle Bytes Written
- Shuffle Write Time
- Shuffle Records Written
Creating Instance¶
ShuffleWriteMetrics
takes no input arguments to be created.
ShuffleWriteMetrics
is created when:
TaskMetrics
is createdShuffleExternalSorter
is requested to writeSortedFileMapIterator
(of BytesToBytesMap) is requested tospill
ExternalAppendOnlyMap
is createdExternalSorter
is requested to spillMemoryIteratorToDiskUnsafeExternalSorter
is requested to spillSpillableIterator
(of UnsafeExternalSorter) is requested tospill
TaskMetrics¶
ShuffleWriteMetrics
is available using TaskMetrics.shuffleWriteMetrics.
Serializable¶
ShuffleWriteMetrics
is a Serializable
(Java).