Interpreter Installation

Apache Zeppelin provides Interpreter Installation mechanism for whom downloaded Zeppelin netinst binary package, or just want to install another 3rd party interpreters.

Community managed interpreters

Apache Zeppelin provides several interpreters as community managed interpreters. If you downloaded netinst binary package, you need to install by using below commands.

Install all community managed interpreters

./bin/ --all

Install specific interpreters

./bin/ --name md,shell,jdbc,python

You can get full list of community managed interpreters by running

./bin/ --list

Install interpreter built with Scala 2.10

From version 0.6.1, Zeppelin support both Scala 2.10 and 2.11 for several interpreters as below:

Name Maven Artifact for Scala 2.10 Maven Artifact for Scala 2.11
cassandra org.apache.zeppelin:zeppelin-cassandra_2.10:0.6.2 org.apache.zeppelin:zeppelin-cassandra_2.11:0.6.2
flink org.apache.zeppelin:zeppelin-flink_2.10:0.6.2 org.apache.zeppelin:zeppelin-flink_2.11:0.6.2
ignite org.apache.zeppelin:zeppelin-ignite_2.10:0.6.2 org.apache.zeppelin:zeppelin-ignite_2.11:0.6.2
flink org.apache.zeppelin:zeppelin-spark_2.10:0.6.2 org.apache.zeppelin:zeppelin-spark_2.11:0.6.2

If you install one of these interpreters only with --name option, installer will download interpreter built with Scala 2.11 by default. If you want to specify Scala version, you will need to add --artifact option. Here is the example of installing flink interpreter built with Scala 2.10.

./bin/ --name flink --artifact org.apache.zeppelin:zeppelin-flink_2.10:0.6.2

Install Spark interpreter built with Scala 2.10

Spark distribution package has been built with Scala 2.10 until 1.6.2. If you have SPARK_HOME set pointing to Spark version ealier than 2.0.0, you need to download Spark interpreter packaged with Scala 2.10. To do so, use follow command:

rm -rf ./interpreter/spark
./bin/ --name spark --artifact org.apache.zeppelin:zeppelin-spark_2.10:0.6.2

Once you have installed interpreters, you need to restart Zeppelin. And then create interpreter setting and bind it with your notebook.

3rd party interpreters

You can also install 3rd party interpreters located in the maven repository by using below commands.

Install 3rd party interpreters

./bin/ --name interpreter1 --artifact groupId1:artifact1:version1

The above command will download maven artifact groupId1:artifact1:version1 and all of it's transitive dependencies into interpreter/interpreter1 directory.

Once you have installed interpreters, you'll need to add interpreter class name into zeppelin.interpreters property in configuration. And then restart Zeppelin, create interpreter setting and bind it with your notebook.

Install multiple 3rd party interpreters at once

./bin/ --name interpreter1,interpreter2 --artifact groupId1:artifact1:version1,groupId2:artifact2:version2

--name and --artifact arguments will recieve comma separated list.

Available community managed interpreters

You can also find the below community managed interpreter list in conf/interpreter-list file.

Name Maven Artifact Description
alluxio org.apache.zeppelin:zeppelin-alluxio:0.6.2 Alluxio interpreter
angular org.apache.zeppelin:zeppelin-angular:0.6.2 HTML and AngularJS view rendering
bigquery org.apache.zeppelin:zeppelin-bigquery:0.6.2 BigQuery interpreter
cassandra org.apache.zeppelin:zeppelin-cassandra_2.11:0.6.2 Cassandra interpreter built with Scala 2.11
elasticsearch org.apache.zeppelin:zeppelin-elasticsearch:0.6.2 Elasticsearch interpreter
file org.apache.zeppelin:zeppelin-file:0.6.2 HDFS file interpreter
flink org.apache.zeppelin:zeppelin-flink_2.11:0.6.2 Flink interpreter built with Scala 2.11
hbase org.apache.zeppelin:zeppelin-hbase:0.6.2 Hbase interpreter
ignite org.apache.zeppelin:zeppelin-ignite_2.11:0.6.2 Ignite interpreter built with Scala 2.11
jdbc org.apache.zeppelin:zeppelin-jdbc:0.6.2 Jdbc interpreter
kylin org.apache.zeppelin:zeppelin-kylin:0.6.2 Kylin interpreter
lens org.apache.zeppelin:zeppelin-lens:0.6.2 Lens interpreter
livy org.apache.zeppelin:zeppelin-livy:0.6.2 Livy interpreter
md org.apache.zeppelin:zeppelin-markdown:0.6.2 Markdown support
postgresql org.apache.zeppelin:zeppelin-postgresql:0.6.2 Postgresql interpreter
python org.apache.zeppelin:zeppelin-python:0.6.2 Python interpreter
shell org.apache.zeppelin:zeppelin-shell:0.6.2 Shell command