Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13606#discussion_r66679191
--- Diff:
core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala ---
@@ -530,6 +530,7 @@ class JavaSparkContext(val sc: SparkContext)
* Create an [[org.apache.spark.Accumulator]] integer variable, which
tasks can "add" values
* to using the `add` method. Only the master can access the
accumulator's `value`.
*/
+ @deprecated("use AccumulatorV2", "2.0.0")
--- End diff --
can you check if this deprecated message appear in javadoc?
I'd also update the method doc to say "Use sparkContext.longAccumulator()"
---
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]