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...
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 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...
z.load("/path/to.jar") That’s what I was looking for. Thanks! On May 25, 2018, at 2:00 PM, Ruslan Dautkhanov mailto:dautkha...@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 mailto:msegel_had...@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
Another silly question from me...
Hi, Ok… I wanted to include the Apache commons compress libraries for use in my spark/scala note. I know I can include it in the first note by telling the interpreter to load… but I did some checking… There’s a local repo. ./zeppelin/local-repo/ … that actually has two older jars for commons-compres-1.4.1.jar and commons-compress-1.9.jar Is it possible to place the jar here and would it automatically be on the Class Path? Thx -Mike
Re: Another silly question from me...
Add the library to interpreter settings? On Wed, May 30, 2018 at 11:07 AM, Michael Segel wrote: > Hi, > > Ok… I wanted to include the Apache commons compress libraries for use in > my spark/scala note. > > I know I can include it in the first note by telling the interpreter to > load… but I did some checking… > > There’s a local repo. > ./zeppelin/local-repo/ … that actually has two older jars for > commons-compres-1.4.1.jar and commons-compress-1.9.jar > > Is it possible to place the jar here and would it automatically be on the > Class Path? > > Thx > > -Mike > > > > -- Thanks & Regards, Ankit.
Re: Another silly question from me...
Yeah… I did the z.load(“classpath”) but that seemed to have borked some of the java.nio stuff. (It’s probably me…) Was going to try something different. On May 30, 2018, at 1:10 PM, ankit jain mailto:ankitjain@gmail.com>> wrote: Add the library to interpreter settings? On Wed, May 30, 2018 at 11:07 AM, Michael Segel mailto:msegel_had...@hotmail.com>> wrote: Hi, Ok… I wanted to include the Apache commons compress libraries for use in my spark/scala note. I know I can include it in the first note by telling the interpreter to load… but I did some checking… There’s a local repo. ./zeppelin/local-repo/ … that actually has two older jars for commons-compres-1.4.1.jar and commons-compress-1.9.jar Is it possible to place the jar here and would it automatically be on the Class Path? Thx -Mike -- Thanks & Regards, Ankit.