Installing Interpreters
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/install-interpreter.sh --all
Install specific interpreters
./bin/install-interpreter.sh --name md,shell,jdbc,python
You can get full list of community managed interpreters by running
./bin/install-interpreter.sh --list
Install interpreter built with Scala 2.10
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 |
---|---|---|
spark | org.apache.zeppelin:zeppelin-spark_2.10:0.11.2 | org.apache.zeppelin:zeppelin-spark_2.11:0.11.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 earlier 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/install-interpreter.sh --name spark --artifact org.apache.zeppelin:zeppelin-spark_2.10:0.11.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/install-interpreter.sh --name interpreter1 --artifact groupId1:artifact1:version1
The above command will download maven artifact groupId1:artifact1:version1
and all of its transitive dependencies into interpreter/interpreter1
directory.
After restart Zeppelin, then create interpreter setting and bind it with your note.
Install multiple 3rd party interpreters at once
./bin/install-interpreter.sh --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.11.2 | Alluxio interpreter |
angular | org.apache.zeppelin:zeppelin-angular:0.11.2 | HTML and AngularJS view rendering |
bigquery | org.apache.zeppelin:zeppelin-bigquery:0.11.2 | BigQuery interpreter |
cassandra | org.apache.zeppelin:zeppelin-cassandra:0.11.2 | Cassandra interpreter |
elasticsearch | org.apache.zeppelin:zeppelin-elasticsearch:0.11.2 | Elasticsearch interpreter |
file | org.apache.zeppelin:zeppelin-file:0.11.2 | HDFS file interpreter |
flink | org.apache.zeppelin:zeppelin-flink:0.11.2 | Flink interpreter |
hbase | org.apache.zeppelin:zeppelin-hbase:0.11.2 | Hbase interpreter |
groovy | org.apache.zeppelin:zeppelin-groovy:0.11.2 | Groovy interpreter |
java | org.apache.zeppelin:zeppelin-java:0.11.2 | Java interpreter |
jdbc | org.apache.zeppelin:zeppelin-jdbc:0.11.2 | Jdbc interpreter |
livy | org.apache.zeppelin:zeppelin-livy:0.11.2 | Livy interpreter |
md | org.apache.zeppelin:zeppelin-markdown:0.11.2 | Markdown support |
neo4j | org.apache.zeppelin:zeppelin-neo4j:0.11.2 | Neo4j interpreter |
python | org.apache.zeppelin:zeppelin-python:0.11.2 | Python interpreter |
shell | org.apache.zeppelin:zeppelin-shell:0.11.2 | Shell command |
sparql | org.apache.zeppelin:zeppelin-sparql:0.11.2 | Sparql interpreter |
submarine | org.apache.zeppelin:zeppelin-submarine:0.11.2 | Submarine interpreter |