You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:12:24 UTC
[jira] [Resolved] (SPARK-16551) Accumulator Examples should
demonstrate different use case from UDAFs
[ https://issues.apache.org/jira/browse/SPARK-16551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-16551.
----------------------------------
Resolution: Incomplete
> Accumulator Examples should demonstrate different use case from UDAFs
> ---------------------------------------------------------------------
>
> Key: SPARK-16551
> URL: https://issues.apache.org/jira/browse/SPARK-16551
> Project: Spark
> Issue Type: Documentation
> Reporter: Vladimir Feinberg
> Priority: Minor
> Labels: bulk-closed
>
> Currently, the Spark programming guide demonstrates Accumulators (http://spark.apache.org/docs/latest/programming-guide.html#accumulators) by taking the sum of an RDD.
> This example makes new users think that Accumulators serve the role that UDAFs do, which they don't. They're meant to be out-of-band, small values that don't break pipe-lining. Documentation examples and notes should reflect this (and warn that they may cause driver bottlenecks).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org