Another silly question from me...

2018-05-30 Thread Michael Segel
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...

2018-05-30 Thread ankit jain
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...

2018-05-30 Thread Michael Segel
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.



accessing src/main/resources in zeppelin

2018-05-30 Thread Pierre Caserta

Hi everyone,

I have this application that is using an old version of the reactive 
couchdb driver and I would like to adapt the code a little so I can run 
it within zeppelin notebook.


The main problem is this line: `val driver = ReactiveCouchbaseDriver()`

This is expecting a file: `application.conf` in the `src/main/resources` 
folder of an SBT app to config the driver.


How can we make zeppelin notebook aware of the resources folder just 
like a standard SBT app will be?


Thanks,
Pierre Caserta



Spark Interpreter Tutorial in Apache Zeppelin

2018-05-30 Thread Jeff Zhang
Hi Folks,


I often see users asking how to use spark interpreter in mail-list,
specially how to configure spark interpreter. So I wrote this article about
how to use spark interpreter in Apache Zeppelin (It is based on Zeppelin
0.8.0). But it is not completed yet, I will continue to add more content to
it, so welcome any feedback and comments on it.

https://medium.com/@zjffdu/spark-interpreter-tutorial-in-apache-zeppelin-a7e18b557a9c