diff options
author | petermaxlee <petermaxlee@gmail.com> | 2016-08-05 11:06:36 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-05 11:06:36 +0100 |
commit | e026064143367e4614cb866e321cc521fdde3170 (patch) | |
tree | 7ee0d56ffb21049706b0b23c5e076c03fe1ba973 | |
parent | c9f2501af278241f780a38b9562e193755ed5af3 (diff) | |
download | spark-e026064143367e4614cb866e321cc521fdde3170.tar.gz spark-e026064143367e4614cb866e321cc521fdde3170.tar.bz2 spark-e026064143367e4614cb866e321cc521fdde3170.zip |
[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 <petermaxlee@gmail.com>
Closes #14466 from petermaxlee/accumulator.
-rw-r--r-- | core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 044dd69cc9..a9167ce6ed 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 |