You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Michael Segel <ms...@hotmail.com> on 2018/05/25 18:46:32 UTC

Silly question...

What’s the best way to set up a class path for a specific notebook? 

I have some custom classes that I may want to include. 

Is there a way to specify this in the specific note? 
Would it be better to add the jars to an existing lib folder? 

Thx

Re: Silly question...

Posted by Michael Segel <ms...@hotmail.com>.
z.load("/path/to.jar")

That’s what I was looking for.

Thanks!


On May 25, 2018, at 2:00 PM, Ruslan Dautkhanov <da...@gmail.com>> wrote:

You may want to check if %spark.dep
https://zeppelin.apache.org/docs/latest/interpreter/spark.html#3-dynamic-dependency-loading-via-sparkdep-interpreter
helps here.



--
Ruslan Dautkhanov

On Fri, May 25, 2018 at 12:46 PM, Michael Segel <ms...@hotmail.com>> wrote:
What’s the best way to set up a class path for a specific notebook?

I have some custom classes that I may want to include.

Is there a way to specify this in the specific note?
Would it be better to add the jars to an existing lib folder?

Thx



Re: Silly question...

Posted by Ruslan Dautkhanov <da...@gmail.com>.
You may want to check if %spark.dep
https://zeppelin.apache.org/docs/latest/interpreter/spark.html#3-dynamic-dependency-loading-via-sparkdep-interpreter
helps here.



-- 
Ruslan Dautkhanov

On Fri, May 25, 2018 at 12:46 PM, Michael Segel <ms...@hotmail.com>
wrote:

> What’s the best way to set up a class path for a specific notebook?
>
> I have some custom classes that I may want to include.
>
> Is there a way to specify this in the specific note?
> Would it be better to add the jars to an existing lib folder?
>
> Thx