You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/08/05 10:06:40 UTC

spark git commit: [MINOR] Update AccumulatorV2 doc to not mention "+=".

Repository: spark
Updated Branches:
  refs/heads/master c9f2501af -> e02606414


[MINOR] Update AccumulatorV2 doc to not mention "+=".

## What changes were proposed in this pull request?
As reported by Bryan Cutler on the mailing list, AccumulatorV2 does not have a += method, yet the documentation still references it.

## How was this patch tested?
N/A

Author: petermaxlee <pe...@gmail.com>

Closes #14466 from petermaxlee/accumulator.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e0260641
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e0260641
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e0260641

Branch: refs/heads/master
Commit: e026064143367e4614cb866e321cc521fdde3170
Parents: c9f2501
Author: petermaxlee <pe...@gmail.com>
Authored: Fri Aug 5 11:06:36 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Aug 5 11:06:36 2016 +0100

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/e0260641/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala b/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala
index 044dd69..a9167ce 100644
--- a/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala
+++ b/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala
@@ -131,7 +131,7 @@ abstract class AccumulatorV2[IN, OUT] extends Serializable {
   def reset(): Unit
 
   /**
-   * Takes the inputs and accumulates. e.g. it can be a simple `+=` for counter accumulator.
+   * Takes the inputs and accumulates.
    */
   def add(v: IN): Unit
 


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