Github user srowen commented on the issue:
https://github.com/apache/spark/pull/17150
The context bound changes won't work on the two public methods:
```
[error] * deprecated method
accumulableCollection(java.lang.Object,scala.Function1,scala.reflect.ClassTag)org.apache.spark.Accumulable
in class org.apache.spark.SparkContext's type is different in current version,
where it is
(java.lang.Object,scala.reflect.ClassTag,scala.Function1)org.apache.spark.Accumulable
instead of
(java.lang.Object,scala.Function1,scala.reflect.ClassTag)org.apache.spark.Accumulable
[error] filter with:
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.SparkContext.accumulableCollection")
[error] * method
this(org.apache.spark.rdd.RDD,java.lang.Class,java.lang.Class,scala.Function1,scala.reflect.ClassTag,scala.Function1,scala.reflect.ClassTag)Unit
in class org.apache.spark.rdd.SequenceFileRDDFunctions's type is different in
current version, where it is
(org.apache.spark.rdd.RDD,java.lang.Class,java.lang.Class,scala.reflect.ClassTag,scala.reflect.ClassTag,scala.Function1,scala.Function1)Unit
instead of
(org.apache.spark.rdd.RDD,java.lang.Class,java.lang.Class,scala.Function1,scala.reflect.ClassTag,scala.Function1,scala.reflect.ClassTag)Unit
[error] filter with:
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.rdd.SequenceFileRDDFunctions.this")
```
Quite unfortunately, they generate signatures that take the same arguments
but in differing orders. This bit is one of those tiny breaking changes that
will have to wait for Spark 3.x. As I recall they still work in Scala 2.12,
even though they are deprecated.
---
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]