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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to