spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Rosen (JIRA)" <>
Subject [jira] [Commented] (SPARK-3266) JavaDoubleRDD doesn't contain max()
Date Fri, 29 Aug 2014 05:07:11 GMT


Josh Rosen commented on SPARK-3266:

[~pwendell] I think the JavaRDDLike trait compiles down to a Java interface (named JavaRDDLike)
and an abstract class named JavaRDDLike$class that contains the implementations of the trait's
members.  After this change, I think JavaRDDLike would compile into a Java abstract base class
with the same name and we wouldn't have a separate interface.

My concern here is that it's going to be a _huge_ pain to find and fix all of the possible
issues that could be caused by this being a trait instead of an abstract base class.  Having
it be a trait was a mistake that we should have caught and fixed earlier.

> JavaDoubleRDD doesn't contain max()
> -----------------------------------
>                 Key: SPARK-3266
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.0.1, 1.0.2, 1.1.0
>            Reporter: Amey Chaugule
>            Assignee: Josh Rosen
>         Attachments: spark-repro-3266.tar.gz
> While I can compile my code, I see:
> Caused by: java.lang.NoSuchMethodError:;)Ljava/lang/Double;
> When I try to execute my Spark code. Stepping into the JavaDoubleRDD class, I don't notice
> although it is clearly listed in the documentation.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message