apache/spark — pull request #3071 by JoshRosen (2014-11-03 07:43:25+00:00)
Title: 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`.