Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/4104#discussion_r23277933
--- Diff: project/MimaExcludes.scala ---
@@ -82,6 +82,10 @@ object MimaExcludes {
// SPARK-5166 Spark SQL API stabilization
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.ml.Transformer.transform"),
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.ml.Estimator.fit")
+ ) ++ Seq(
+ // SPARK-5315 Spark Streaming Java API returns Scala DStream
+ ProblemFilters.exclude[MissingMethodProblem](
+
"org.apache.spark.streaming.api.java.JavaDStreamLike.reduceByWindow")
--- End diff --
Hi all, I tested with a clean build, still Mima complains about it, seems
it is false positive.
```
[error] * method
reduceByWindow(org.apache.spark.api.java.function.Function2,org.apache.spark.streaming.Duration,org.apache.spark.streaming.Duration)org.apache.spark.streaming.api.java.JavaDStream
in trait org.apache.spark.streaming.api.java.JavaDStreamLike does not have a
correspondent in old version
[error] filter with:
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.streaming.api.java.JavaDStreamLike.reduceByWindow")
```
---
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]