spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandy Ryza <sandy.r...@cloudera.com>
Subject Re: Using an external jar in the driver, in yarn-standalone mode.
Date Tue, 25 Mar 2014 18:18:31 GMT
Hi Julien,

Have you called SparkContext#addJars?

-Sandy


On Tue, Mar 25, 2014 at 10:05 AM, Julien Carme <julien.carme@gmail.com>wrote:

> Hello,
>
> I have been struggling for ages to use an external jar in my spark driver
> program, in yarn-standalone mode. I just want to use in my main program,
> outside the calls to spark functions, objects that are defined in another
> jar.
>
> I tried to set SPARK_CLASSPATH, ADD_JAR, I tried to use --addJar in the
> spark-class arguments, I always end up with a "Class not found exception"
> when I want to use classes defined in my jar.
>
> Any ideas?
>
> Thanks a lot,
>

Mime
View raw message