ShuffleWriteMetrics is a collection of accumulators that represents task metrics about writing shuffle data.
ShuffleWriteMetrics tracks the following task metrics:
|
Note
|
Accumulators allow tasks (running on executors) to communicate with the driver. |
| Name | Description |
|---|---|
Accumulator to track how many shuffle bytes were written in a shuffle task. Used when NOTE: |
|
Accumulator to track shuffle write time (as 64-bit integer) of a shuffle task. Used when NOTE: |
|
Accumulator to track how many shuffle records were written in a shuffle task. Used when NOTE: |
bytesWritten: LongbytesWritten represents the shuffle bytes written metrics of a shuffle task.
Internally, bytesWritten returns the sum of _bytesWritten internal accumulator.
|
Note
|
|
incBytesWritten(v: Long): UnitincBytesWritten simply adds v to _bytesWritten internal accumulator.
|
Note
|
|
incWriteTime(v: Long): UnitincWriteTime simply adds v to _writeTime internal accumulator.
|
Note
|
|
incRecordsWritten(v: Long): UnitincRecordsWritten simply adds v to _recordsWritten internal accumulator.
|
Note
|
|