You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ralph Bergmann <ra...@dasralph.de> on 2015/03/16 17:10:04 UTC

ClassNotFoundException

Hi,


I want to try the JavaSparkPi example[1] on a remote Spark server but I
get a ClassNotFoundException.

When I run it local it works but not remote.

I added the spark-core lib as dependency. Do I need more?

Any ideas?

Thanks Ralph


[1] ...
https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java

Re: ClassNotFoundException

Posted by Ralph Bergmann <ra...@dasralph.de>.
Hi Kevin,


yes I can test it.... means I have to build Spark from git repository?


Ralph

Am 17.03.15 um 02:59 schrieb Kevin (Sangwoo) Kim:
> Hi Ralph,
> 
> It seems like https://issues.apache.org/jira/browse/SPARK-6299 issue,
> which is I'm working on. 
> I submitted a PR for it, would you test it?
> 
> Regards,
> Kevin


-- 

Ralph Bergmann


www              http://www.dasralph.de | http://www.the4thFloor.eu
mail             ralph@dasralph.de
skype            dasralph

facebook         https://www.facebook.com/dasralph
google+          https://plus.google.com/+RalphBergmann
xing             https://www.xing.com/profile/Ralph_Bergmann3
linkedin         https://www.linkedin.com/in/ralphbergmann
gulp             https://www.gulp.de/Profil/RalphBergmann.html
github           https://github.com/the4thfloor


pgp key id       0x421F9B78
pgp fingerprint  CEE3 7AE9 07BE 98DF CD5A E69C F131 4A8E 421F 9B78

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


Re: ClassNotFoundException

Posted by "Kevin (Sangwoo) Kim" <ke...@apache.org>.
Hi Ralph,

It seems like https://issues.apache.org/jira/browse/SPARK-6299 issue, which
is I'm working on.
I submitted a PR for it, would you test it?

Regards,
Kevin

On Tue, Mar 17, 2015 at 1:11 AM Ralph Bergmann <ra...@dasralph.de> wrote:

> Hi,
>
>
> I want to try the JavaSparkPi example[1] on a remote Spark server but I
> get a ClassNotFoundException.
>
> When I run it local it works but not remote.
>
> I added the spark-core lib as dependency. Do I need more?
>
> Any ideas?
>
> Thanks Ralph
>
>
> [1] ...
> https://github.com/apache/spark/blob/master/examples/
> src/main/java/org/apache/spark/examples/JavaSparkPi.java
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org