Re: Livy interpreter - external libraries and changing queue name at runtime

2017-11-21 Thread Jeff Zhang
You can do it via livy interpreter setting.

Here's 2 configuration which can help you add external jars and external
packages

livy.spark.jars
livy.spark.jars.packages

And this is the configuration for queue name

livy.spark.yarn.queue


Anandha L Ranganathan 于2017年11月22日周三 上午9:13写道:

> We are using Livy interpreter from Zeppelin to connect to Spark.
>
> In this,  we want to give the users an option to download the external
> libraries.
> By default we have added some basic libraries in interpreter setting.
>
> In spark interpreter, an users can download the external libraries they
> want using this command.
> %spark.dep
> z.reset()
> z.addRepo("Spark Packages Repo").url("
> http://dl.bintray.com/spark-packages/maven";)
> z.load("com.databricks:spark-csv_2.11:1.2.0")
>
>
> How can we import the external libraries using livy ?
>
>
> Another question, is there a way to change the yarn queue name at runtime?
> Some users want to use different queue rather than default queue assigned
> in the interpreter.  If that feature is not available, then what is the
> best approach to implement this ?
>
> Thanks
> Anand
>
>
>


Livy interpreter - external libraries and changing queue name at runtime

2017-11-21 Thread Anandha L Ranganathan
We are using Livy interpreter from Zeppelin to connect to Spark.

In this,  we want to give the users an option to download the external
libraries.
By default we have added some basic libraries in interpreter setting.

In spark interpreter, an users can download the external libraries they
want using this command.
%spark.dep
z.reset()
z.addRepo("Spark Packages Repo").url("
http://dl.bintray.com/spark-packages/maven";)
z.load("com.databricks:spark-csv_2.11:1.2.0")


How can we import the external libraries using livy ?


Another question, is there a way to change the yarn queue name at runtime?
Some users want to use different queue rather than default queue assigned
in the interpreter.  If that feature is not available, then what is the
best approach to implement this ?

Thanks
Anand


Re: Delete/Disable existing interpreter

2017-11-21 Thread Anandha L Ranganathan
Thanks Jeff for the reply. It helped.


On Tue, Nov 7, 2017 at 8:07 PM, Jeff Zhang  wrote:

>
> You can delete interpreter folders under $ZEPPELIN_HOME/interpreter which
> you don't want to use for a fresh zeppelin installation.
>
> If it is not a fresh zeppelin installation, you still need to manually
> delete interpreter in UI.
>
>
>
> Anandha L Ranganathan 于2017年11月8日周三 上午11:55写道:
>
>> We have zeppelin running in production but when someone creates a new
>> notebook, it displays all the interpreter in the dropdown.  We are using
>> only 2 or 3 interpreters and other interpreters not in use.  Is there a way
>> to delete/disable other interpreters that are not being used ?
>>
>> I tried to delete the interpreters from interpreter section but after the
>> zeppelin restart it started appearing again. How do I disable it using
>> configuration  ?
>>
>>
>>
>> Thanks
>> Anand
>>
>


Re: How to apache zeppelin front ui?

2017-11-21 Thread 小野圭二
Hi Steve,

I am not sure the front ui can replace with the bootstrap theme, but I have
been customizing my Zep by changing the files below
'zeppelin-web/src/app/home' and/or 'zeppelin-web/src/components'.
You know after changing those files You need recompile to reflect it to
yours.

Hey guys, am I correct?

-keiji

2017-11-21 15:24 GMT+09:00 Steve Fox :

> Hi zeppelin users!
>
> I am trying to change the front ui of apache zeppelin.
>
> Can I change to the bootstrap theme when I change front ui?
>
> ex https://bootswatch.com/
>
> I can not seem to find it, but where is the document to refer to?
>
> Thanks.
>