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/06/06 18:26:53 UTC

svn commit: r1747048 - in /incubator/zeppelin/site/docs/0.6.0-SNAPSHOT: atom.xml development/writingzeppelininterpreter.html doap.rdf rss.xml security/interpreter_authorization.html sitemap.txt

Author: moon
Date: Mon Jun  6 18:26:53 2016
New Revision: 1747048

URL: http://svn.apache.org/viewvc?rev=1747048&view=rev
Log:
ZEPPELIN-959: Fix odd code block in writingzeppelininterpreter.md

Removed:
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/doap.rdf
Modified:
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/development/writingzeppelininterpreter.html
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/security/interpreter_authorization.html
    incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/sitemap.txt

Modified: incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml?rev=1747048&r1=1747047&r2=1747048&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml Mon Jun  6 18:26:53 2016
@@ -4,7 +4,7 @@
  <title>Apache Zeppelin</title>
  <link href="http://zeppelin.apache.org/" rel="self"/>
  <link href="http://zeppelin.apache.org"/>
- <updated>2016-06-02T09:52:27-07:00</updated>
+ <updated>2016-06-06T11:27:31-07:00</updated>
  <id>http://zeppelin.apache.org</id>
  <author>
    <name>The Apache Software Foundation</name>

Modified: incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/development/writingzeppelininterpreter.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/development/writingzeppelininterpreter.html?rev=1747048&r1=1747047&r2=1747048&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/development/writingzeppelininterpreter.html (original)
+++ incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/development/writingzeppelininterpreter.html Mon Jun  6 18:26:53 2016
@@ -198,46 +198,41 @@ All Interpreters in the same Interpreter
 <p>Creating a new interpreter is quite simple. Just extend <a href="https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/Interpreter.java">org.apache.zeppelin.interpreter</a> abstract class and implement some methods.
 You can include <code>org.apache.zeppelin:zeppelin-interpreter:[VERSION]</code> artifact in your build system. And you should your jars under your interpreter directory with specific directory name. Zeppelin server reads interpreter directories recursively and initializes interpreters including your own interpreter.</p>
 
-<p>There are three locations where you can store your interpreter group, name and other information. Zeppelin server tries to find the location below. Next, Zeppelin tries to find <code>interpareter-setting.json</code> in your interpreter jar. 
-<code>
-{ZEPPELIN_INTERPRETER_DIR}/{YOUR_OWN_INTERPRETER_DIR}/interpreter-setting.json
-</code></p>
-
-<p>Here is an example of <code>interpareter-setting.json</code> on your own interpreter.
-<code>json
-[
-  {
-    &quot;group&quot;: &quot;your-group&quot;,
-    &quot;name&quot;: &quot;your-name&quot;,
-    &quot;className&quot;: &quot;your.own.interpreter.class&quot;,
-    &quot;properties&quot;: {
-      &quot;propertiies1&quot;: {
-        &quot;envName&quot;: null,
-        &quot;propertyName&quot;: &quot;property.1.name&quot;,
-        &quot;defaultValue&quot;: &quot;propertyDefaultValue&quot;,
-        &quot;description&quot;: &quot;Property description&quot;
-      },
-      &quot;properties2&quot;: {
-        &quot;envName&quot;: PROPERTIES_2,
-        &quot;propertyName&quot;: null,
-        &quot;defaultValue&quot;: &quot;property2DefaultValue&quot;,
-        &quot;description&quot;: &quot;Property 2 description&quot;
-      }, ...
-    }
-  },
-  {
-    ...
-  } 
-]
-</code></p>
-
-<p>Finally, Zeppelin uses static initialization with the following:
-<code>
-static {
+<p>There are three locations where you can store your interpreter group, name and other information. Zeppelin server tries to find the location below. Next, Zeppelin tries to find <code>interpareter-setting.json</code> in your interpreter jar. </p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">{ZEPPELIN_INTERPRETER_DIR}/{YOUR_OWN_INTERPRETER_DIR}/interpreter-setting.json
+</code></pre></div>
+<p>Here is an example of <code>interpareter-setting.json</code> on your own interpreter.</p>
+<div class="highlight"><pre><code class="json language-json" data-lang="json"><span class="p">[</span>
+  <span class="p">{</span>
+    <span class="nt">&quot;group&quot;</span><span class="p">:</span> <span class="s2">&quot;your-group&quot;</span><span class="p">,</span>
+    <span class="nt">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;your-name&quot;</span><span class="p">,</span>
+    <span class="nt">&quot;className&quot;</span><span class="p">:</span> <span class="s2">&quot;your.own.interpreter.class&quot;</span><span class="p">,</span>
+    <span class="nt">&quot;properties&quot;</span><span class="p">:</span> <span class="p">{</span>
+      <span class="nt">&quot;propertiies1&quot;</span><span class="p">:</span> <span class="p">{</span>
+        <span class="nt">&quot;envName&quot;</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
+        <span class="nt">&quot;propertyName&quot;</span><span class="p">:</span> <span class="s2">&quot;property.1.name&quot;</span><span class="p">,</span>
+        <span class="nt">&quot;defaultValue&quot;</span><span class="p">:</span> <span class="s2">&quot;propertyDefaultValue&quot;</span><span class="p">,</span>
+        <span class="nt">&quot;description&quot;</span><span class="p">:</span> <span class="s2">&quot;Property description&quot;</span>
+      <span class="p">},</span>
+      <span class="nt">&quot;properties2&quot;</span><span class="p">:</span> <span class="p">{</span>
+        <span class="nt">&quot;envName&quot;</span><span class="p">:</span> <span class="err">PROPERTIES_</span><span class="mi">2</span><span class="p">,</span>
+        <span class="nt">&quot;propertyName&quot;</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
+        <span class="nt">&quot;defaultValue&quot;</span><span class="p">:</span> <span class="s2">&quot;property2DefaultValue&quot;</span><span class="p">,</span>
+        <span class="nt">&quot;description&quot;</span><span class="p">:</span> <span class="s2">&quot;Property 2 description&quot;</span>
+      <span class="p">},</span> <span class="err">...</span>
+    <span class="p">}</span>
+  <span class="p">},</span>
+  <span class="p">{</span>
+    <span class="err">...</span>
+  <span class="p">}</span> 
+<span class="p">]</span>
+</code></pre></div>
+<p>Finally, Zeppelin uses static initialization with the following:</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">static {
     Interpreter.register(&quot;MyInterpreterName&quot;, MyClassName.class.getName());
   }
-</code>
-<strong>Static initialization is deprecated and will be supported until 0.6.0.</strong></p>
+</code></pre></div>
+<p><strong>Static initialization is deprecated and will be supported until 0.6.0.</strong></p>
 
 <p>The name will appear later in the interpreter name option box during the interpreter configuration process.
 The name of the interpreter is what you later write to identify a paragraph which should be interpreted using this interpreter.</p>

Modified: incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml?rev=1747048&r1=1747047&r2=1747048&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml (original)
+++ incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml Mon Jun  6 18:26:53 2016
@@ -5,8 +5,8 @@
         <description>Apache Zeppelin - The Apache Software Foundation</description>
         <link>http://zeppelin.apache.org</link>
         <link>http://zeppelin.apache.org</link>
-        <lastBuildDate>2016-06-02T09:52:27-07:00</lastBuildDate>
-        <pubDate>2016-06-02T09:52:27-07:00</pubDate>
+        <lastBuildDate>2016-06-06T11:27:31-07:00</lastBuildDate>
+        <pubDate>2016-06-06T11:27:31-07:00</pubDate>
         <ttl>1800</ttl>
 
 

Modified: incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/security/interpreter_authorization.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/security/interpreter_authorization.html?rev=1747048&r1=1747047&r2=1747048&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/security/interpreter_authorization.html (original)
+++ incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/security/interpreter_authorization.html Mon Jun  6 18:26:53 2016
@@ -196,6 +196,8 @@ The interpret method takes the user stri
 <p>In case of Presto, we don&#39;t need password if the Presto DB server runs backend code using HDFS authorization for the user.
 For databases like Vertica and Mysql we have to store password information for users.</p>
 
+<p>The Credentials tab in the navbar allows users to save credentials for data sources which are passed to interpreters.</p>
+
   </div>
 </div>
 

Modified: incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/sitemap.txt
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/sitemap.txt?rev=1747048&r1=1747047&r2=1747048&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/sitemap.txt (original)
+++ incubator/zeppelin/site/docs/0.6.0-SNAPSHOT/sitemap.txt Mon Jun  6 18:26:53 2016
@@ -2,6 +2,7 @@
 http://zeppelin.apache.org/atom.xml
 http://zeppelin.apache.org/development/howtocontribute.html
 http://zeppelin.apache.org/development/howtocontributewebsite.html
+http://zeppelin.apache.org/development/writingheliumapplication.html
 http://zeppelin.apache.org/development/writingzeppelininterpreter.html
 http://zeppelin.apache.org/displaysystem/back-end-angular.html
 http://zeppelin.apache.org/displaysystem/display.html