Github user sourind commented on the pull request:
https://github.com/apache/spark/pull/10907#issuecomment-175187527
There is a TODO in Accumulators.scala
<https://github.com/apache/spark/blob/302bb569f3e1f09e2e7cea5e4e7f5c6953b0fc82/core/src/main/scala/org/apache/spark/Accumulator.scala#L159>
for
adding different accumulator params (Lists, Strings etc.). This change is
similar to that.
Also, with this change people can accumulate values for keys that are not
initially defined in the driver -therefore, allowing users to define
metrics at runtime.
Let me know your thoughts on this.
Thanks,
Souri
On Mon, Jan 25, 2016 at 6:00 PM, Reynold Xin <[email protected]>
wrote:
> Do we need this in Spark? It seems like it is just a few lines of code.
>
> â
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/spark/pull/10907#issuecomment-174773667>.
>
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]