You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2016/01/27 23:43:39 UTC

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

Andrew Or created SPARK-13051:
---------------------------------

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


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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org