spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro De Carli <>
Subject Re: java.lang.NoSuchMethodError on Java API
Date Sun, 11 May 2014 19:44:46 GMT

Thank you! I now switched to eclipse and imported the assembly jar, the IDE
successfully finds the imports. But when I try to run my code I get
org/apache/spark/api/java/function/PairFunction" is there anything special
to consider when I want to run my development code directly from eclipse (I
checked the buildpath settings and made sure to completely export the
assembly jar)?

Best Regards
On May 11, 2014 4:48 PM, "Madhu" <> wrote:

> Alessandro,
> I'm using Eclipse, IntelliJ settings will be similar.
> I created a standard project, without maven.
> For me, the easiest way was to add this jar to my Eclipse project build
> path:
> <my spark
> dir>/assembly/target/scala-2.10/spark-assembly-x.x.x-hadoop1.0.4.jar
> It works for either Java or Scala plugin.
> That Jar is quite large (~100MB) and has everything in it.
> --
> View this message in context:
> Sent from the Apache Spark User List mailing list archive at

View raw message