Author: moon
Date: Sat Jun 27 18:08:13 2015
New Revision: 1687958
URL: http://svn.apache.org/r1687958
Log:
ZEPPELIN-74 Update document for changing interpreter selection from %[name] to
%[group].[name]
Modified:
incubator/zeppelin/site/atom.xml
incubator/zeppelin/site/docs/development/writingzeppelininterpreter.html
incubator/zeppelin/site/rss.xml
Modified: incubator/zeppelin/site/atom.xml
URL:
http://svn.apache.org/viewvc/incubator/zeppelin/site/atom.xml?rev=1687958&r1=1687957&r2=1687958&view=diff
==============================================================================
--- incubator/zeppelin/site/atom.xml (original)
+++ incubator/zeppelin/site/atom.xml Sat Jun 27 18:08:13 2015
@@ -4,7 +4,7 @@
<title>Zeppelin</title>
<link href="http://zeppelin-project.org/" rel="self"/>
<link href="http://zeppelin-project.org"/>
- <updated>2015-06-24T09:47:45-07:00</updated>
+ <updated>2015-06-27T11:07:27-07:00</updated>
<id>http://zeppelin-project.org</id>
<author>
<name>The Apache Software Foundation</name>
Modified:
incubator/zeppelin/site/docs/development/writingzeppelininterpreter.html
URL:
http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/development/writingzeppelininterpreter.html?rev=1687958&r1=1687957&r2=1687958&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/development/writingzeppelininterpreter.html
(original)
+++ incubator/zeppelin/site/docs/development/writingzeppelininterpreter.html
Sat Jun 27 18:08:13 2015
@@ -263,6 +263,8 @@ Property value is comma separated [INTER
</code></pre></div>
<h3>Use your interpreter</h3>
+<h4>0.5.0</h4>
+
<p>Inside of a notebook, %[INTERPRETER_NAME] directive will call your
interpreter.
Note that the first interpreter configuration in zeppelin.interpreters will be
the default one.</p>
@@ -272,6 +274,38 @@ Note that the first interpreter configur
val a = "My interpreter"
println(a)
</code></pre></div>
+<p><br /></p>
+
+<h4>0.6.0 and later</h4>
+
+<p>Inside of a noteobok, %[INTERPRETER_GROUP].[INTERPRETER_NAME] directive
will call your interpreter.
+Note that the first interpreter configuration in zeppelin.interpreters will be
the default one.</p>
+
+<p>You can omit either [INTERPRETER_GROUP] or [INTERPRETER_NAME]. Omit
[INTERPRETER_NAME] selects first available interpreter in the
[INTERPRETER_GROUP].
+Omit '[INTERPRETER_GROUP]' will selects [INTERPRETER_NAME] from
defualt interpreter group.</p>
+
+<p>For example, if you have two interpreter myintp1 and myintp2 in group
mygrp,</p>
+
+<p>you can call myintp1 like</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">%mygrp.myintp1
+
+codes for myintp1
+</code></pre></div>
+<p>and you can call myintp2 like</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">%mygrp.myintp2
+
+codes for myintp2
+</code></pre></div>
+<p>If you ommit your interpreter name, it'll selects first available
interpreter in the group (myintp1)</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">%mygrp
+
+codes for myintp1
+</code></pre></div>
+<p>You can only ommit your interpreter group when your interpreter group is
selected as a default group.</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">%myintp2
+
+codes for myintp2
+</code></pre></div>
<h3>Examples</h3>
<p>Check some interpreters shipped by default.</p>
Modified: incubator/zeppelin/site/rss.xml
URL:
http://svn.apache.org/viewvc/incubator/zeppelin/site/rss.xml?rev=1687958&r1=1687957&r2=1687958&view=diff
==============================================================================
--- incubator/zeppelin/site/rss.xml (original)
+++ incubator/zeppelin/site/rss.xml Sat Jun 27 18:08:13 2015
@@ -5,8 +5,8 @@
<description>Zeppelin - The Apache Software Foundation</description>
<link>http://zeppelin-project.org</link>
<link>http://zeppelin-project.org</link>
- <lastBuildDate>2015-06-24T09:47:45-07:00</lastBuildDate>
- <pubDate>2015-06-24T09:47:45-07:00</pubDate>
+ <lastBuildDate>2015-06-27T11:07:27-07:00</lastBuildDate>
+ <pubDate>2015-06-27T11:07:27-07:00</pubDate>
<ttl>1800</ttl>