cloud-fan commented on a change in pull request #34474:
URL: https://github.com/apache/spark/pull/34474#discussion_r742690800
##########
File path: core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala
##########
@@ -157,6 +157,9 @@ abstract class AccumulatorV2[IN, OUT] extends Serializable {
*/
def value: OUT
+ // We assume that serialization of AccumulatorV2 runs on executor is not
necessary.
Review comment:
```
// Serialize the buffer of this accumulator before sending back this
accumulator to the driver.
// By default this method does nothing.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]