Repository: zeppelin Updated Branches: refs/heads/master 3ab6ffaa8 -> 3651e5cdc
[HOTFIX] Remove doc about zeppelin.interpreters Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/3651e5cd Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/3651e5cd Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/3651e5cd Branch: refs/heads/master Commit: 3651e5cdccff6e1d98f216e6e8eda942712a59f2 Parents: 3ab6ffa Author: Jeff Zhang <zjf...@apache.org> Authored: Thu Jul 26 10:01:11 2018 +0800 Committer: Jeff Zhang <zjf...@apache.org> Committed: Thu Jul 26 10:01:11 2018 +0800 ---------------------------------------------------------------------- conf/zeppelin-site.xml.template | 6 ------ docs/development/writing_zeppelin_interpreter.md | 18 ++---------------- docs/setup/operation/configuration.md | 12 ------------ docs/usage/interpreter/dynamic_loading.md | 3 +-- docs/usage/rest_api/configuration.md | 1 - 5 files changed, 3 insertions(+), 37 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/3651e5cd/conf/zeppelin-site.xml.template ---------------------------------------------------------------------- diff --git a/conf/zeppelin-site.xml.template b/conf/zeppelin-site.xml.template index 3fa5e9b..f5e433e 100755 --- a/conf/zeppelin-site.xml.template +++ b/conf/zeppelin-site.xml.template @@ -330,12 +330,6 @@ </property> <property> - <name>zeppelin.interpreters</name> - <value>org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.rinterpreter.RRepl,org.apache.zeppelin.rinterpreter.KnitR,org.apache.zeppelin.spark.SparkRInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.file.HDFSFileInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,,org.apache.zeppelin.python.PythonInterpreter,org.apache.zeppelin.python.PythonInterpreterPandasSql,org.apache.zeppelin.python.PythonCondaInterpreter,org.apache.zeppelin.python.PythonDockerInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.jdbc.JDBCInterpreter,or g.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter,org.apache.zeppelin.alluxio.AlluxioInterpreter,org.apache.zeppelin.hbase.HbaseInterpreter,org.apache.zeppelin.livy.LivySparkInterpreter,org.apache.zeppelin.livy.LivyPySparkInterpreter,org.apache.zeppelin.livy.LivyPySpark3Interpreter,org.apache.zeppelin.livy.LivySparkRInterpreter,org.apache.zeppelin.livy.LivySparkSQLInterpreter,org.apache.zeppelin.bigquery.BigQueryInterpreter,org.apache.zeppelin.beam.BeamInterpreter,org.apache.zeppelin.pig.PigInterpreter,org.apache.zeppelin.pig.PigQueryInterpreter,org.apache.zeppelin.scio.ScioInterpreter,org.apache.zeppelin.groovy.GroovyInterpreter</value> - <description>Comma separated interpreter configurations. First interpreter become a default</description> -</property> - -<property> <name>zeppelin.interpreter.group.order</name> <value>spark,md,angular,sh,livy,alluxio,file,psql,flink,python,ignite,lens,cassandra,geode,kylin,elasticsearch,scalding,jdbc,hbase,bigquery,beam,groovy</value> <description></description> http://git-wip-us.apache.org/repos/asf/zeppelin/blob/3651e5cd/docs/development/writing_zeppelin_interpreter.md ---------------------------------------------------------------------- diff --git a/docs/development/writing_zeppelin_interpreter.md b/docs/development/writing_zeppelin_interpreter.md index 54a4c54..b48f17c 100644 --- a/docs/development/writing_zeppelin_interpreter.md +++ b/docs/development/writing_zeppelin_interpreter.md @@ -196,23 +196,9 @@ Once you have built your interpreter, you can place it under the interpreter dir To configure your interpreter you need to follow these steps: -1. Add your interpreter class name to the zeppelin.interpreters property in `conf/zeppelin-site.xml`. +1. Start Zeppelin by running `./bin/zeppelin-daemon.sh start`. - Property value is comma separated [INTERPRETER\_CLASS\_NAME]. - For example, - - ```xml - <property> - <name>zeppelin.interpreters</name> - <value>org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.hive.HiveInterpreter,com.me.MyNewInterpreter</value> - </property> - ``` - -2. Add your interpreter to the [default configuration](https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L397) which is used when there is no `zeppelin-site.xml`. - -3. Start Zeppelin by running `./bin/zeppelin-daemon.sh start`. - -4. In the interpreter page, click the `+Create` button and configure your interpreter properties. +2. In the interpreter page, click the `+Create` button and configure your interpreter properties. Now you are done and ready to use your interpreter. > **Note :** Interpreters released with zeppelin have a [default > configuration](https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java#L397) > which is used when there is no `conf/zeppelin-site.xml`. http://git-wip-us.apache.org/repos/asf/zeppelin/blob/3651e5cd/docs/setup/operation/configuration.md ---------------------------------------------------------------------- diff --git a/docs/setup/operation/configuration.md b/docs/setup/operation/configuration.md index 0c4cc21..131cdaa 100644 --- a/docs/setup/operation/configuration.md +++ b/docs/setup/operation/configuration.md @@ -270,18 +270,6 @@ If both are defined, then the **environment variables** will take priority. <td>Make notebook public (set only <code>owners</code>) by default when created/imported. If set to <code>false</code> will add <code>user</code> to <code>readers</code> and <code>writers</code> as well, making it private and invisible to other users unless permissions are granted.</td> </tr> <tr> - <td><h6 class="properties">ZEPPELIN_INTERPRETERS</h6></td> - <td><h6 class="properties">zeppelin.interpreters</h6></td> - <description></description> - <td>org.apache.zeppelin.spark.SparkInterpreter,<br />org.apache.zeppelin.spark.PySparkInterpreter,<br />org.apache.zeppelin.spark.SparkSqlInterpreter,<br />org.apache.zeppelin.spark.DepInterpreter,<br />org.apache.zeppelin.markdown.Markdown,<br />org.apache.zeppelin.shell.ShellInterpreter,<br /> - ... - </td> - <td> - Comma separated interpreter configurations [Class] <br/><br /> - <span style="font-style:italic; color: gray">NOTE: This property is deprecated since Zeppelin-0.6.0 and will not be supported from Zeppelin-0.7.0.</span> - </td> - </tr> - <tr> <td><h6 class="properties">ZEPPELIN_INTERPRETER_DIR</h6></td> <td><h6 class="properties">zeppelin.interpreter.dir</h6></td> <td>interpreter</td> http://git-wip-us.apache.org/repos/asf/zeppelin/blob/3651e5cd/docs/usage/interpreter/dynamic_loading.md ---------------------------------------------------------------------- diff --git a/docs/usage/interpreter/dynamic_loading.md b/docs/usage/interpreter/dynamic_loading.md index a02e960..404421b 100644 --- a/docs/usage/interpreter/dynamic_loading.md +++ b/docs/usage/interpreter/dynamic_loading.md @@ -27,8 +27,7 @@ Apache Zeppelin provides pluggable interpreter architecture which results in a w Before we start, if you are not familiar with the concept of **Zeppelin interpreter**, you can check out [Overview: Zeppelin Interpreter](./overview.html) first. ## Overview -In the past, Zeppelin was loading interpreter binaries from `/interpreter/[interpreter_name]` directory. They were configured by `zeppelin.interpreters` property in `conf/zeppelin-site.xml` or `ZEPPELIN_INTERPRETERS` env variables in `conf/zeppelin-env.sh`. They were loaded on Zeppelin server startup and stayed alive until the server was stopped. -In order to simplify using 3rd party interpreters, we changed this way to **dynamically** load interpreters from **Maven Repository** using **REST API**. Hopefully, the picture below will help you to understand the process. +In order to simplify using 3rd party interpreters, we **dynamically** load interpreters from **Maven Repository** using **REST API**. Hopefully, the picture below will help you to understand the process. <center><img src="{{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/zeppelin_user.png" height="85%" width="85%"></center> ## Load & Unload Interpreters Using REST API http://git-wip-us.apache.org/repos/asf/zeppelin/blob/3651e5cd/docs/usage/rest_api/configuration.md ---------------------------------------------------------------------- diff --git a/docs/usage/rest_api/configuration.md b/docs/usage/rest_api/configuration.md index 30e4c74..fb9ee7d 100644 --- a/docs/usage/rest_api/configuration.md +++ b/docs/usage/rest_api/configuration.md @@ -76,7 +76,6 @@ If you work with Apache Zeppelin and find a need for an additional REST API, ple "zeppelin.server.context.path": "/", "zeppelin.ssl.keystore.type": "JKS", "zeppelin.ssl.truststore.path": "truststore", - "zeppelin.interpreters": "org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.spark.SparkRInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter", "zeppelin.ssl": "false", "zeppelin.notebook.autoInterpreterBinding": "true", "zeppelin.notebook.homescreen": "",