GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/3071

    Move SparkContext accumulator methods to Accumulators.scala

    This commit moves the SparkContext `accumulator` and `accumulable` methods 
and the `AccumulableParam` implicits into mixin traits that are defined inside 
of the `Accumulators.scala` file.  I think that this improves readability by 
grouping together all accumulator-related code in the same file; it also helps 
to reduce the bloat of `SparkContext.scala`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark 
move-accumulator-methods-to-own-file

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/3071.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3071
    
----
commit e08a588329c2ae7fc1c40d4fd29a7cbceee1e06a
Author: Josh Rosen <[email protected]>
Date:   2014-11-03T07:03:54Z

    Move SparkContext accumulator methods into separate traits.

----


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

Reply via email to