From 48d6d72ad913b0bfe613cd8b8323a38a54e4fdb3 Mon Sep 17 00:00:00 2001 From: Jeff Zhang Date: Fri, 18 May 2018 09:07:13 +0800 Subject: [PATCH] [DOC] Fix interpreter version in doc --- docs/usage/interpreter/installation.md | 77 +++++++++++++------------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/docs/usage/interpreter/installation.md b/docs/usage/interpreter/installation.md index 8bc3b3d8d18..7e1cb80cd52 100644 --- a/docs/usage/interpreter/installation.md +++ b/docs/usage/interpreter/installation.md @@ -58,46 +58,42 @@ Zeppelin support both Scala 2.10 and 2.11 for several interpreters as below: cassandra - org.apache.zeppelin:zeppelin-cassandra_2.10:0.7.0 - org.apache.zeppelin:zeppelin-cassandra_2.11:0.7.0 + org.apache.zeppelin:zeppelin-cassandra_2.10:0.8.0 + org.apache.zeppelin:zeppelin-cassandra_2.11:0.8.0 flink - org.apache.zeppelin:zeppelin-flink_2.10:0.7.0 - org.apache.zeppelin:zeppelin-flink_2.11:0.7.0 + org.apache.zeppelin:zeppelin-flink_2.10:0.8.0 + org.apache.zeppelin:zeppelin-flink_2.11:0.8.0 ignite - org.apache.zeppelin:zeppelin-ignite_2.10:0.7.0 - org.apache.zeppelin:zeppelin-ignite_2.11:0.7.0 + org.apache.zeppelin:zeppelin-ignite_2.10:0.8.0 + org.apache.zeppelin:zeppelin-ignite_2.11:0.8.0 scio - org.apache.zeppelin:zeppelin-scio_2.10:0.7.0 - org.apache.zeppelin:zeppelin-scio_2.11:0.7.0 - - - spark - org.apache.zeppelin:zeppelin-spark_2.10:0.7.0 - org.apache.zeppelin:zeppelin-spark_2.11:0.7.0 + org.apache.zeppelin:zeppelin-scio_2.10:0.8.0 + org.apache.zeppelin:zeppelin-scio_2.11:0.8.0 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/install-interpreter.sh --name flink --artifact org.apache.zeppelin:zeppelin-flink_2.10:0.7.0 +./bin/install-interpreter.sh --name flink --artifact org.apache.zeppelin:zeppelin-flink_2.10:0.8.0 ``` -#### 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: +#### Spark interpreter for scala 2.10 and 2.11 +Starting from Zeppelin 0.8.0, Zeppelin support both scala 2.10 and 2.11 in one zeppelin instance. You don't need to install different scala specific interpreter for spark. +It would pick up the right scala specific interpreter for the spark distribution where `SPARK_HOME` point to. + +Here's the command to install spark interpreter ``` -rm -rf ./interpreter/spark -./bin/install-interpreter.sh --name spark --artifact org.apache.zeppelin:zeppelin-spark_2.10:0.7.0 +./bin/install-interpreter.sh --name spark --artifact org.apache.zeppelin:spark-interpreter:0.8.0 ``` -
Once you have installed interpreters, you need to restart Zeppelin. And then [create interpreter setting](./overview.html#what-is-zeppelin-interpreter) and [bind it with your notebook](./overview.html#what-is-zeppelin-interpreter-setting). @@ -134,97 +130,102 @@ You can also find the below community managed interpreter list in `conf/interpre alluxio - org.apache.zeppelin:zeppelin-alluxio:0.7.0 + org.apache.zeppelin:zeppelin-alluxio:0.8.0 Alluxio interpreter angular - org.apache.zeppelin:zeppelin-angular:0.7.0 + org.apache.zeppelin:zeppelin-angular:0.8.0 HTML and AngularJS view rendering beam - org.apache.zeppelin:zeppelin-beam:0.7.0 + org.apache.zeppelin:zeppelin-beam:0.8.0 Beam interpreter bigquery - org.apache.zeppelin:zeppelin-bigquery:0.7.0 + org.apache.zeppelin:zeppelin-bigquery:0.8.0 BigQuery interpreter cassandra - org.apache.zeppelin:zeppelin-cassandra\_2.11:0.7.0 + org.apache.zeppelin:zeppelin-cassandra\_2.11:0.8.0 Cassandra interpreter built with Scala 2.11 elasticsearch - org.apache.zeppelin:zeppelin-elasticsearch:0.7.0 + org.apache.zeppelin:zeppelin-elasticsearch:0.8.0 Elasticsearch interpreter file - org.apache.zeppelin:zeppelin-file:0.7.0 + org.apache.zeppelin:zeppelin-file:0.8.0 HDFS file interpreter flink - org.apache.zeppelin:zeppelin-flink\_2.11:0.7.0 + org.apache.zeppelin:zeppelin-flink\_2.11:0.8.0 Flink interpreter built with Scala 2.11 hbase - org.apache.zeppelin:zeppelin-hbase:0.7.0 + org.apache.zeppelin:zeppelin-hbase:0.8.0 Hbase interpreter ignite - org.apache.zeppelin:zeppelin-ignite\_2.11:0.7.0 + org.apache.zeppelin:zeppelin-ignite\_2.11:0.8.0 Ignite interpreter built with Scala 2.11 jdbc - org.apache.zeppelin:zeppelin-jdbc:0.7.0 + org.apache.zeppelin:zeppelin-jdbc:0.8.0 Jdbc interpreter kylin - org.apache.zeppelin:zeppelin-kylin:0.7.0 + org.apache.zeppelin:zeppelin-kylin:0.8.0 Kylin interpreter lens - org.apache.zeppelin:zeppelin-lens:0.7.0 + org.apache.zeppelin:zeppelin-lens:0.8.0 Lens interpreter livy - org.apache.zeppelin:zeppelin-livy:0.7.0 + org.apache.zeppelin:zeppelin-livy:0.8.0 Livy interpreter md - org.apache.zeppelin:zeppelin-markdown:0.7.0 + org.apache.zeppelin:zeppelin-markdown:0.8.0 Markdown support pig - org.apache.zeppelin:zeppelin-pig:0.7.0 + org.apache.zeppelin:zeppelin-pig:0.8.0 Pig interpreter python - org.apache.zeppelin:zeppelin-python:0.7.0 + org.apache.zeppelin:zeppelin-python:0.8.0 Python interpreter scio - org.apache.zeppelin:zeppelin-scio\_2.11:0.7.0 + org.apache.zeppelin:zeppelin-scio\_2.11:0.8.0 Scio interpreter built with Scala 2.11 shell - org.apache.zeppelin:zeppelin-shell:0.7.0 + org.apache.zeppelin:zeppelin-shell:0.8.0 Shell command + + sap + org.apache.zeppelin:zeppelin-sap:0.8.0 + sap interpreter +