[ https://issues.apache.org/jira/browse/SPARK-16580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-16580. ------------------------------- Resolution: Duplicate > [WARN] class Accumulator in package spark is deprecated: use AccumulatorV2 > -------------------------------------------------------------------------- > > Key: SPARK-16580 > URL: https://issues.apache.org/jira/browse/SPARK-16580 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 2.0.0 > Reporter: Xin Ren > Priority: Minor > > When I was working on the R wrapper, I found the compile warn. > {code} > > project mllib > > console > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:78: > class Accumulator in package spark is deprecated: use AccumulatorV2 > [warn] accumulator: Accumulator[JList[Array[Byte]]]) > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:78: > class Accumulator in package spark is deprecated: use AccumulatorV2 > [warn] accumulator: Accumulator[JList[Array[Byte]]]) > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:78: > class Accumulator in package spark is deprecated: use AccumulatorV2 > [warn] accumulator: Accumulator[JList[Array[Byte]]]) > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:71: > class Accumulator in package spark is deprecated: use AccumulatorV2 > [warn] private[spark] case class PythonFunction( > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:78: > class Accumulator in package spark is deprecated: use AccumulatorV2 > [warn] accumulator: Accumulator[JList[Array[Byte]]]) > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala:873: > trait AccumulatorParam in package spark is deprecated: use AccumulatorV2 > [warn] extends AccumulatorParam[JList[Array[Byte]]] { > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala:459: > trait AccumulableParam in package spark is deprecated: use AccumulatorV2 > [warn] param: org.apache.spark.AccumulableParam[R, T]) extends > AccumulatorV2[T, R] { > [warn] > [warn] > /Users/renxin/workspace/spark/core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala:459: > trait AccumulableParam in package spark is deprecated: use AccumulatorV2 > [warn] param: org.apache.spark.AccumulableParam[R, T]) extends > AccumulatorV2[T, R] { > [warn] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org