spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin B. (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-3266) JavaDoubleRDD doesn't contain max()
Date Thu, 28 Aug 2014 20:51:09 GMT

     [ https://issues.apache.org/jira/browse/SPARK-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colin B. updated SPARK-3266:
----------------------------

    Attachment: spark-repro-3266.tar.gz

I have attached a simple java project which reproduces the issue. [^spark-repro-3266.tar.gz]

{code}
> tar xvzf spark-repro-3266.tar.gz
...
> cd spark-repro-3266
> mvn clean package
> /path/to/spark-1.0.2-bin-hadoop2/bin/spark-submit --class SimpleApp target/testcase-4-1.0.jar
...
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.spark.api.java.JavaDoubleRDD.max(Ljava/util/Comparator;)Ljava/lang/Double;
        at SimpleApp.main(SimpleApp.java:17)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:303)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
{code}

> 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
>            Reporter: Amey Chaugule
>         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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message