viirya commented on a change in pull request #27038: [SPARK-30379][Core] Avoid
OOM when using collection accumulator
URL: https://github.com/apache/spark/pull/27038#discussion_r362108101
##########
File path: core/src/main/scala/org/apache/spark/status/LiveEntity.scala
##########
@@ -641,8 +654,8 @@ private object LiveEntityHelpers {
new v1.AccumulableInfo(
acc.id,
acc.name.map(weakIntern).orNull,
- acc.update.map(_.toString()),
- acc.value.map(_.toString()).orNull)
+ acc.update.map(accuValuetoString),
Review comment:
Just found that in UI, the tasks of Stage tab shows `update` too. So we also
need to truncate update value.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]