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:21:13 UTC

[jira] [Updated] (SPARK-13051) Do not maintain global singleton map for accumulators

     [ https://issues.apache.org/jira/browse/SPARK-13051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-13051:
---------------------------------
    Labels: bulk-closed  (was: )

> Do not maintain global singleton map for accumulators
> -----------------------------------------------------
>
>                 Key: SPARK-13051
>                 URL: https://issues.apache.org/jira/browse/SPARK-13051
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Andrew Or
>            Priority: Major
>              Labels: bulk-closed
>
> Right now we register accumulators through `Accumulators.register`, and then read these accumulators in DAGScheduler through `Accumulators.get`. This design is very awkward and makes it hard to associate a list of accumulators with a particular SparkContext. Global singleton is not a good pattern in general.



--
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