You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2016/02/28 17:17:24 UTC
svn commit: r1732762 - in
/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT: ./
assets/themes/zeppelin/img/screenshots/ development/ interpreter/ manual/
Author: moon
Date: Sun Feb 28 16:17:24 2016
New Revision: 1732762
URL: http://svn.apache.org/viewvc?rev=1732762&view=rev
Log:
ZEPPELIN-513
Added:
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_binding.png (with props)
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_persession.png (with props)
Modified:
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html
incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml
Added: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_binding.png
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_binding.png?rev=1732762&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_binding.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_persession.png
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_persession.png?rev=1732762&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/img/screenshots/interpreter_persession.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml?rev=1732762&r1=1732761&r2=1732762&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/atom.xml Sun Feb 28 16:17:24 2016
@@ -4,7 +4,7 @@
<title>Apache Zeppelin (incubating)</title>
<link href="http://zeppelin.incubator.apache.org/" rel="self"/>
<link href="http://zeppelin.incubator.apache.org"/>
- <updated>2016-02-28T08:13:47-08:00</updated>
+ <updated>2016-02-28T08:20:18-08:00</updated>
<id>http://zeppelin.incubator.apache.org</id>
<author>
<name>The Apache Software Foundation</name>
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html?rev=1732762&r1=1732761&r2=1732762&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html Sun Feb 28 16:17:24 2016
@@ -175,12 +175,15 @@ limitations under the License.
<h3>What is Zeppelin Interpreter</h3>
<p>Zeppelin Interpreter is a language backend. For example to use scala code in Zeppelin, you need scala interpreter.
-Every Interpreter belongs to an InterpreterGroup. InterpreterGroup is a unit of start/stop interpreter.
+Every Interpreter belongs to an InterpreterGroup.
Interpreters in the same InterpreterGroup can reference each other. For example, SparkSqlInterpreter can reference SparkInterpreter to get SparkContext from it while they're in the same group.</p>
<p><img class="img-responsive" style="width:50%; border: 1px solid #ecf0f1;" height="auto" src="/assets/themes/zeppelin/img/interpreter.png" /></p>
-<p>All Interpreters in the same interpreter group are launched in a single, separate JVM process. The Interpreter communicates with Zeppelin engine via thrift.</p>
+<p>InterpreterSetting is configuration of a given InterpreterGroup and a unit of start/stop interpreter.
+All Interpreters in the same InterpreterSetting are launched in a single, separate JVM process. The Interpreter communicates with Zeppelin engine via thrift.</p>
+
+<p>In 'Separate Interpreter for each note' mode, new Interpreter instance will be created per notebook. But it still runs on the same JVM while they're in the same InterpreterSettings.</p>
<h3>Make your own Interpreter</h3>
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html?rev=1732762&r1=1732761&r2=1732762&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html Sun Feb 28 16:17:24 2016
@@ -430,6 +430,10 @@ select * from ${table=defaultTableName}
</code></pre></div>
<p>To learn more about dynamic form, checkout <a href="../manual/dynamicform.html">Dynamic Form</a>.</p>
+<h3>Separate Interpreter for each note</h3>
+
+<p>In 'Separate Interpreter for each note' mode, SparkInterpreter creates scala compiler per each notebook. However it still shares the single SparkContext.</p>
+
<h2>Setting up Zeppelin with Kerberos</h2>
<p>Logical setup with Zeppelin, Kerberos Distribution Center (KDC), and Spark on YARN:</p>
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html?rev=1732762&r1=1732761&r2=1732762&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html Sun Feb 28 16:17:24 2016
@@ -188,10 +188,14 @@ Currently, Zeppelin supports many interp
<h2>What is Zeppelin Interpreter Setting?</h2>
-<p>Zeppelin interpreter setting is the configuration of a given interpreter on Zeppelin server. For example, the properties are required for hive JDBC interpreter to connect to the Hive server.</p>
+<p>Zeppelin interpreter setting is the configuration of a given interpreter on Zeppelin server. For example, the properties are required for hive JDBC interpreter to connect to the Hive server. </p>
<p><img src="/assets/themes/zeppelin/img/screenshots/interpreter_setting.png"></p>
+<p>Each notebook can be binded to multiple Interpreter Settings using setting icon on upper right corner of the notebook.</p>
+
+<p><img src="/assets/themes/zeppelin/img/screenshots/interpreter_binding.png" width="800px"></p>
+
<h2>What is Zeppelin Interpreter Group?</h2>
<p>Every Interpreter is belonged to an <strong>Interpreter Group</strong>. Interpreter Group is a unit of start/stop interpreter.
@@ -202,6 +206,13 @@ By default, every interpreter is belonge
<p>Each interpreters is belonged to a single group and registered together. All of their properties are listed in the interpreter setting like below image.
<img src="/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png"></p>
+<h2>Interpreter binding mode</h2>
+
+<p>Each Interpreter Setting can choose one of two different interpreter binding mode.
+Shared mode (default) and 'Separate Interpreter for each note' mode. In shared mode, every notebook binded to the Interpreter Setting will share the single Interpreter instance. In 'Separate Interpreter for each note' mode, each notebook will create new Interpreter instance. Therefore each notebook will have fresh new Interpreter environment.</p>
+
+<p><img src="/assets/themes/zeppelin/img/screenshots/interpreter_persession.png" width="400px"></p>
+
</div>
</div>
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml?rev=1732762&r1=1732761&r2=1732762&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/rss.xml Sun Feb 28 16:17:24 2016
@@ -5,8 +5,8 @@
<description>Apache Zeppelin (incubating) - The Apache Software Foundation</description>
<link>http://zeppelin.incubator.apache.org</link>
<link>http://zeppelin.incubator.apache.org</link>
- <lastBuildDate>2016-02-28T08:13:47-08:00</lastBuildDate>
- <pubDate>2016-02-28T08:13:47-08:00</pubDate>
+ <lastBuildDate>2016-02-28T08:20:18-08:00</lastBuildDate>
+ <pubDate>2016-02-28T08:20:18-08:00</pubDate>
<ttl>1800</ttl>