[
https://issues.apache.org/jira/browse/SPARK-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365434#comment-14365434
]
Josh Rosen commented on SPARK-3266:
-----------------------------------
After many months, I've finally fixed this issue thanks to a good workaround
suggested by Jason Zaugg:
https://issues.scala-lang.org/browse/SI-8905?focusedCommentId=72096&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-72096.
I've merged this fix into 1.4.0 and 1.3.1. If there's any demand to backport
this to other maintenance branches, please let me know, but I suspect that
merging into the next release should be sufficient for most users (users
running legacy versions of Spark probably have their own workarounds in place
already).
> JavaDoubleRDD doesn't contain max()
> -----------------------------------
>
> Key: SPARK-3266
> URL: https://issues.apache.org/jira/browse/SPARK-3266
> Project: Spark
> Issue Type: Bug
> Components: Java API
> Affects Versions: 1.0.1, 1.0.2, 1.1.0, 1.2.0
> Reporter: Amey Chaugule
> Assignee: Sean Owen
> Fix For: 1.4.0, 1.3.1
>
> Attachments: spark-repro-3266.tar.gz
>
>
> While I can compile my code, I see:
> Caused by: java.lang.NoSuchMethodError:
> org.apache.spark.api.java.JavaDoubleRDD.max(Ljava/util/Comparator;)Ljava/lang/Double;
> When I try to execute my Spark code. Stepping into the JavaDoubleRDD class, I
> don't notice max()
> although it is clearly listed in the documentation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]