zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r1749627 - in /zeppelin/site/docs/0.6.0-SNAPSHOT: ./ assets/themes/zeppelin/css/ assets/themes/zeppelin/img/screenshots/ displaysystem/ install/ interpreter/ rest-api/ security/
Date Wed, 22 Jun 2016 03:12:47 GMT
Author: moon
Date: Wed Jun 22 03:12:47 2016
New Revision: 1749627

URL: http://svn.apache.org/viewvc?rev=1749627&view=rev
Log:
https://issues.apache.org/jira/browse/ZEPPELIN-998

Removed:
    zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/img/screenshots/multiple_language_backend.png
    zeppelin/site/docs/0.6.0-SNAPSHOT/displaysystem/html.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/displaysystem/table.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/displaysystem/text.html
Modified:
    zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/css/style.css
    zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml
    zeppelin/site/docs/0.6.0-SNAPSHOT/index.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/install/install.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/rest-api/rest-configuration.html
    zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml
    zeppelin/site/docs/0.6.0-SNAPSHOT/security/shiroauthentication.html

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/css/style.css
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/css/style.css?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/css/style.css (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/assets/themes/zeppelin/css/style.css Wed Jun 22 03:12:47
2016
@@ -433,6 +433,8 @@ a.anchor {
   word-break: keep-all;
   -webkit-overflow-scrolling: touch;
   font-size: 90%;
+  margin-top: 16px;
+  margin-bottom: 16px;
 }
 .content table th {
   font-weight: bold;

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/atom.xml Wed Jun 22 03:12:47 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-15T21:10:06-07:00</updated>
+ <updated>2016-06-21T20:13:17-07:00</updated>
  <id>http://zeppelin.apache.org</id>
  <author>
    <name>The Apache Software Foundation</name>

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/index.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/index.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/index.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/index.html Wed Jun 22 03:12:47 2016
@@ -298,9 +298,9 @@ Join to our <a href="https://zeppelin.ap
 <li>Getting Started
 
 <ul>
-<li><a href="./install/install.html">Quick Start</a> for basic instructions
on installing Zeppelin</li>
-<li><a href="./install/install.html#zeppelin-configuration">Configuration</a>
lists for Zeppelin</li>
-<li><a href="./quickstart/explorezeppelinui.html">Explore Apache Zeppelin UI</a>:
basic components of Zeppelin home</li>
+<li><a href="./install/install.html">Quick Start</a> for basic instructions
on installing Apache Zeppelin</li>
+<li><a href="./install/install.html#apache-zeppelin-configuration">Configuration</a>
lists for Apache Zeppelin</li>
+<li><a href="./quickstart/explorezeppelinui.html">Explore Apache Zeppelin UI</a>:
basic components of Apache Zeppelin home</li>
 <li><a href="./quickstart/tutorial.html">Tutorial</a>: a short walk-through
tutorial that uses Apache Spark backend</li>
 </ul></li>
 <li>Basic Feature Guide

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/install/install.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/install/install.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/install/install.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/install/install.html Wed Jun 22 03:12:47 2016
@@ -179,59 +179,133 @@ See the License for the specific languag
 limitations under the License.
 -->
 
-<h2>Zeppelin Installation</h2>
+<h1>Quick Start</h1>
 
-<p>Welcome to your first trial to explore Zeppelin!</p>
+<p>Welcome to your first trial to explore Apache Zeppelin! 
+This page will help you to get started and here is the list of topics covered.</p>
 
-<p>In this documentation, we will explain how you can install Zeppelin from <strong>Binary
Package</strong> or build from <strong>Source</strong> by yourself. Plus,
you can see all of Zeppelin&#39;s configurations in the <a href="install.html#zeppelin-configuration">Zeppelin
Configuration</a> section below.</p>
+<ul>
+<li><a href="#installation">Installation</a>
 
-<h3>Install with Binary Package</h3>
+<ul>
+<li><a href="#downloading-binary-package">Downloading Binary Package</a></li>
+<li><a href="#building-from-source">Building from Source</a></li>
+</ul></li>
+<li><a href="#starting-apache-zeppelin-with-command-line">Starting Apache Zeppelin
with Command Line</a>
 
-<p>If you want to install Zeppelin with latest binary package, please visit <a href="http://zeppelin.apache.org/download.html">this
page</a>.</p>
+<ul>
+<li><a href="#start-zeppelin">Start Zeppelin</a></li>
+<li><a href="#stop-zeppelin">Stop Zeppelin</a></li>
+<li><a href="#optional-start-apache-zeppelin-with-a-service-manager">(Optional)
Start Apache Zeppelin with a service manager</a></li>
+</ul></li>
+<li><a href="#what-is-the-next">What is the next?</a></li>
+<li><a href="#apache-zeppelin-configuration">Apache Zeppelin Configuration</a></li>
+</ul>
 
-<h3>Build from Zeppelin Source</h3>
+<h2>Installation</h2>
 
-<p>You can also build Zeppelin from the source.</p>
+<p>Apache Zeppelin officially supports and is tested on next environments.</p>
 
-<h4>Prerequisites for build</h4>
+<table class="table-configuration">
+  <tr>
+    <th>Name</th>
+    <th>Value</th>
+  </tr>
+  <tr>
+    <td>Oracle JDK</td>
+    <td>1.7 <br /> (set <code>JAVA_HOME</code>)</td>
+  </tr>
+  <tr>
+    <td>OS</td>
+    <td>Mac OSX <br /> Ubuntu 14.X <br /> CentOS 6.X <br /> Windows
7 Pro SP1</td>
+  </tr>
+</table>
 
-<ul>
-<li>Java 1.7</li>
-<li>Git</li>
-<li>Maven(3.1.x or higher)</li>
-<li>Node.js Package Manager</li>
-</ul>
+<p>There are two options to install Apache Zeppelin on your machine. One is <a href="#downloading-binary-package">downloading
prebuild binary package</a> from the archive. 
+You can download not only the latest stable version but also the older one if you need. 
+The other option is <a href="#building-from-source">building from the source</a>.
+Although it can be unstable somehow since it is on development status, you can explore newly
added feature and change it as you want.</p>
+
+<h3>Downloading Binary Package</h3>
+
+<p>If you want to install Apache Zeppelin with a stable binary package, please visit
<a href="http://zeppelin.apache.org/download.html">Apache Zeppelin download Page</a>.

+After unpacking, jump to <a href="#starting-apache-zeppelin-with-command-line">Starting
Apache Zeppelin with Command Line</a> section.</p>
+
+<h3>Building from Source</h3>
+
+<p>If you want to build from the source, the software below needs to be installed on
your system.</p>
+
+<table class="table-configuration">
+  <tr>
+    <th>Name</th>
+    <th>Value</th>
+  </tr>
+  <tr>
+    <td>Git</td>
+    <td></td>
+  </tr>
+  <tr>
+    <td>Maven</td>
+    <td>3.1.x or higher</td>
+  </tr>
+</table>
+
+<p>If you don&#39;t have it installed yet, please check <a href="https://github.com/apache/zeppelin/blob/master/README.md#before-build">Before
Build</a> section and follow step by step instructions from there.</p>
+
+<h4>1. Clone Apache Zeppelin repository</h4>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">git
clone https://github.com/apache/zeppelin.git
+</code></pre></div>
+<h4>2. Build source with options</h4>
+
+<p>Each interpreters requires different build options. For the further information
about options, please see <a href="https://github.com/apache/zeppelin#build">Build</a>
section.</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">mvn
clean package -DskipTests [Options]
+</code></pre></div>
+<p>Here are some examples with several options</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">#
basic build
+mvn clean package -Pspark-1.6 -Phadoop-2.4 -Pyarn -Ppyspark
+
+# spark-cassandra integration
+mvn clean package -Pcassandra-spark-1.5 -Dhadoop.version=2.6.0 -Phadoop-2.6 -DskipTests
 
-<p>If you don&#39;t have requirements prepared, please check instructions in <a
href="https://github.com/apache/zeppelin/blob/master/README.md">README.md</a> for
the details.</p>
+# with CDH
+mvn clean package -Pspark-1.5 -Dhadoop.version=2.6.0-cdh5.5.0 -Phadoop-2.6 -Pvendor-repo
-DskipTests
 
-<p>Maybe you need to configure individual interpreter. If so, please check <strong>Interpreter</strong>
section in Zeppelin documentation.
-<a href="../interpreter/spark.html">Spark Interpreter for Apache Zeppelin</a>
will be a good example.</p>
+# with MapR
+mvn clean package -Pspark-1.5 -Pmapr50 -DskipTests
+</code></pre></div>
+<p>For the further information about building with source, please see <a href="https://github.com/apache/zeppelin/blob/master/README.md">README.md</a>
in Zeppelin repository.</p>
 
-<h2>Zeppelin Start / Stop</h2>
+<h2>Starting Apache Zeppelin with Command Line</h2>
 
 <h4>Start Zeppelin</h4>
 <div class="highlight"><pre><code class="text language-text" data-lang="text">bin/zeppelin-daemon.sh
start
 </code></pre></div>
+<p>If you are using Windows </p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">bin\zeppelin.cmd
+</code></pre></div>
 <p>After successful start, visit <a href="http://localhost:8080">http://localhost:8080</a>
with your web browser.</p>
 
 <h4>Stop Zeppelin</h4>
 <div class="highlight"><pre><code class="text language-text" data-lang="text">bin/zeppelin-daemon.sh
stop
 </code></pre></div>
-<h4>Start Zeppelin with a service manager such as upstart</h4>
-
-<p>Zeppelin can auto start as a service with an init script, such as services managed
by upstart.</p>
+<h4>(Optional) Start Apache Zeppelin with a service manager</h4>
 
-<p>The following is an example upstart script to be saved as <code>/etc/init/zeppelin.conf</code>
-This example has been tested with Ubuntu Linux.
-This also allows the service to be managed with commands such as</p>
-
-<p><code>sudo service zeppelin start</code><br>
-<code>sudo service zeppelin stop</code><br>
-<code>sudo service zeppelin restart</code></p>
+<blockquote>
+<p><strong>Note :</strong> The below description was written based on Ubuntu
Linux.</p>
+</blockquote>
 
-<p>Other service managers could use a similar approach with the <code>upstart</code>
argument passed to the zeppelin-daemon.sh script:  <code>bin/zeppelin-daemon.sh upstart</code></p>
+<p>Apache Zeppelin can be auto started as a service with an init script, such as services
managed by <strong>upstart</strong>.</p>
 
-<h5>zeppelin.conf</h5>
+<p>The following is an example of upstart script to be saved as <code>/etc/init/zeppelin.conf</code>
+This also allows the service to be managed with commands such as</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">sudo
service zeppelin start  
+sudo service zeppelin stop  
+sudo service zeppelin restart
+</code></pre></div>
+<p>Other service managers could use a similar approach with the <code>upstart</code>
argument passed to the <code>zeppelin-daemon.sh</code> script.</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">bin/zeppelin-daemon.sh
upstart
+</code></pre></div>
+<p><strong>zeppelin.conf</strong></p>
 <div class="highlight"><pre><code class="text language-text" data-lang="text">description
&quot;zeppelin&quot;
 
 start on (local-filesystems and net-device-up IFACE!=lo)
@@ -248,12 +322,19 @@ respawn limit 7 5
 chdir /usr/share/zeppelin
 exec bin/zeppelin-daemon.sh upstart
 </code></pre></div>
-<h4>Running on Windows</h4>
-<div class="highlight"><pre><code class="text language-text" data-lang="text">bin\zeppelin.cmd
-</code></pre></div>
-<h2>Zeppelin Configuration</h2>
+<h2>What is the next?</h2>
+
+<p>Congratulation on your successful Apache Zeppelin installation! Here are two next
steps you might need.</p>
+
+<ul>
+<li>For an in-depth overview of Apache Zeppelin UI, head to <a href="../quickstart/explorezeppelinui.html">Explore
Apache Zeppelin UI</a></li>
+<li>After getting familiar with Apache Zeppelin UI, have fun with a short walk-through
<a href="../quickstart/tutorial.html">Tutorial</a> that uses Apache Spark backend</li>
+<li>If you need more configuration setting for Apache Zeppelin, jump to the next section:
<a href="#apache-zeppelin-configuration">Apache Zeppelin Configuration</a></li>
+</ul>
+
+<h2>Apache Zeppelin Configuration</h2>
 
-<p>You can configure Zeppelin with both <strong>environment variables</strong>
in <code>conf/zeppelin-env.sh</code> (<code>conf\zeppelin-env.cmd</code>
for Windows) and <strong>Java properties</strong> in <code>conf/zeppelin-site.xml</code>.
If both are defined, then the <strong>environment variables</strong> will take
priority.</p>
+<p>You can configure Apache Zeppelin with both <strong>environment variables</strong>
in <code>conf/zeppelin-env.sh</code> (<code>conf\zeppelin-env.cmd</code>
for Windows) and <strong>Java properties</strong> in <code>conf/zeppelin-site.xml</code>.
If both are defined, then the <strong>environment variables</strong> will take
priority.</p>
 
 <table class="table-configuration">
   <tr>
@@ -362,13 +443,13 @@ exec bin/zeppelin-daemon.sh upstart
     <td>ZEPPELIN_NOTEBOOK_HOMESCREEN</td>
     <td>zeppelin.notebook.homescreen</td>
     <td></td>
-    <td>A notebook id displayed in Zeppelin homescreen <br />i.e. 2A94M5J1Z</td>
+    <td>A notebook id displayed in Apache Zeppelin homescreen <br />i.e. 2A94M5J1Z</td>
   </tr>
   <tr>
     <td>ZEPPELIN_NOTEBOOK_HOMESCREEN_HIDE</td>
     <td>zeppelin.notebook.homescreen.hide</td>
     <td>false</td>
-    <td>This value can be "true" when to hide the notebook id set by <code>ZEPPELIN_NOTEBOOK_HOMESCREEN</code>
on the Zeppelin homescreen. <br />For the further information, please read <a href="../manual/notebookashomepage.html">Customize
your Zeppelin homepage</a>.</td>
+    <td>This value can be "true" when to hide the notebook id set by <code>ZEPPELIN_NOTEBOOK_HOMESCREEN</code>
on the Apache Zeppelin homescreen. <br />For the further information, please read <a
href="../manual/notebookashomepage.html">Customize your Zeppelin homepage</a>.</td>
   </tr>
   <tr>
     <td>ZEPPELIN_WAR_TEMPDIR</td>
@@ -380,13 +461,13 @@ exec bin/zeppelin-daemon.sh upstart
     <td>ZEPPELIN_NOTEBOOK_DIR</td>
     <td>zeppelin.notebook.dir</td>
     <td>notebook</td>
-    <td>The root directory where Zeppelin notebook directories are saved</td>
+    <td>The root directory where notebook directories are saved</td>
   </tr>
   <tr>
     <td>ZEPPELIN_NOTEBOOK_S3_BUCKET</td>
     <td>zeppelin.notebook.s3.bucket</td>
     <td>zeppelin</td>
-    <td>S3 Bucket where Zeppelin notebook files will be saved</td>
+    <td>S3 Bucket where notebook files will be saved</td>
   </tr>
   <tr>
     <td>ZEPPELIN_NOTEBOOK_S3_USER</td>
@@ -422,7 +503,7 @@ exec bin/zeppelin-daemon.sh upstart
     <td>ZEPPELIN_NOTEBOOK_AZURE_SHARE</td>
     <td>zeppelin.notebook.azure.share</td>
     <td>zeppelin</td>
-    <td>Share where the Zeppelin notebook files will be saved</td>
+    <td>Share where the notebook files will be saved</td>
   </tr>
   <tr>
     <td>ZEPPELIN_NOTEBOOK_AZURE_USER</td>
@@ -443,13 +524,13 @@ exec bin/zeppelin-daemon.sh upstart
     <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 /> The first interpreter
will be a default value. <br /> It means only the first interpreter in this list can
be available without <code>%interpreter_name</code> annotation in Zeppelin notebook
paragraph. </td>
+    <td>Comma separated interpreter configurations [Class] <br /> The first interpreter
will be a default value. <br /> It means only the first interpreter in this list can
be available without <code>%interpreter_name</code> annotation in notebook paragraph.
</td>
   </tr>
   <tr>
     <td>ZEPPELIN_INTERPRETER_DIR</td>
     <td>zeppelin.interpreter.dir</td>
     <td>interpreter</td>
-    <td>Zeppelin interpreter directory</td>
+    <td>Interpreter directory</td>
   </tr>
   <tr>
     <td>ZEPPELIN_WEBSOCKET_MAX_TEXT_MESSAGE_SIZE</td>

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html Wed Jun 22 03:12:47 2016
@@ -180,6 +180,7 @@
 <ul>
 <li>Details on using <a href="https://drill.apache.org/docs/using-the-jdbc-driver">Drill
JDBC Driver</a></li>
 </ul></li>
+<li>Apache Phoenix</li>
 <li>Apache Tajo</li>
 </ul>
 
@@ -405,6 +406,46 @@
      <td></td>
    </tr>
  </table></p>
+
+<h4>Phoenix</h4>
+
+<h5>Properties</h5>
+
+<p><table class="table-configuration">
+   <tr>
+     <th>Name</th>
+     <th>Value</th>
+   </tr>
+   <tr>
+     <td>phoenix.driver</td>
+     <td>org.apache.phoenix.jdbc.PhoenixDriver</td>
+   </tr>
+   <tr>
+     <td>phoenix.url</td>
+     <td>jdbc:phoenix:localhost:2181:/hbase-unsecure</td>
+   </tr>
+   <tr>
+     <td>phoenix.user</td>
+     <td>phoenix<em>user</td>
+   </tr>
+   <tr>
+     <td>phoenix.password</td>
+     <td>phoenix</em>password</td>
+   </tr>
+ </table></p>
+
+<h5>Dependencies</h5>
+
+<p><table class="table-configuration">
+   <tr>
+     <th>Artifact</th>
+     <th>Excludes</th>
+   </tr>
+   <tr>
+     <td>org.apache.phoenix:phoenix-core:4.4.0-HBase-1.0</td>
+     <td></td>
+   </tr>
+ </table></p>
 
 <h4>Tajo</h4>
 

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html Wed Jun 22 03:12:47 2016
@@ -227,8 +227,8 @@
 
 <h2>Matplotlib integration</h2>
 
-<p>The python interpreter can display matplotlib graph with the function <strong><em>zeppelin</em>show()_</strong>
- You need to already have matplotlib module installed  and a running XServer to use this
functionality !</p>
+<p>The python interpreter can display matplotlib graph with the function <code>zeppelin_show()</code>.
+ You need to have matplotlib module installed and a XServer running to use this functionality
!</p>
 <div class="highlight"><pre><code class="python language-python" data-lang="python"><span
class="o">%</span><span class="n">python</span>
 <span class="kn">import</span> <span class="nn">matplotlib.pyplot</span>
<span class="kn">as</span> <span class="nn">plt</span>
 <span class="n">plt</span><span class="o">.</span><span class="n">figure</span><span
class="p">()</span>
@@ -243,27 +243,9 @@
 </code></pre></div>
 <p><a href="/docs/interpreter/screenshots/pythonMatplotlib.png"><img src="../interpreter/screenshots/pythonMatplotlib.png"
alt="pythonmatplotlib"></a></p>
 
-<h2>Technical description - Interpreter architecture</h2>
+<h2>Technical description</h2>
 
-<h3>Dev prerequisites</h3>
-
-<ul>
-<li><p>Python 2 and 3 installed with py4j (0.9.2) and matplotlib (1.31 or later)
installed on each</p></li>
-<li><p>Tests only checks the interpreter logic and starts any Python process
! Python process is mocked with a class that simply output it input.</p></li>
-<li><p>Make sure the code wrote in bootstrap.py and bootstrap_input.py is Python2
and 3 compliant.</p></li>
-<li><p>Use PEP8 convention for python code.</p></li>
-</ul>
-
-<h3>Technical overview</h3>
-
-<ul>
-<li><p>When interpreter is starting it launches a python process inside a Java
ProcessBuilder. Python is started with -i (interactive mode) and -u (unbuffered stdin, stdout
and stderr) options. Thus the interpreter has a &quot;sleeping&quot; python process.</p></li>
-<li><p>Interpreter sends command to python with a Java <code>outputStreamWiter</code>
and read from an <code>InputStreamReader</code>. To know when stop reading stdout,
interpreter sends <code>print &quot;*!?flush reader!?*&quot;</code>after
each command and reads stdout until he receives back the <code>*!?flush reader!?*</code>.</p></li>
-<li><p>When interpreter is starting, it sends some Python code (bootstrap.py
and bootstrap<em>input.py) to initialize default behavior and functions (<code>help(),
z.input()...</code>). bootstrap</em>input.py is sent only if py4j library is detected
inside Python process.</p></li>
-<li><p><a href="https://www.py4j.org/">Py4J</a> python and java libraries
is used to load Input zeppelin Java class into the python process (make java code with python
code !). Therefore the interpreter can directly create Zeppelin input form inside the Python
process (and eventually with some python variable already defined). JVM opens a random open
port to be accessible from python process.</p></li>
-<li><p>JavaBuilder can&#39;t send SIGINT signal to interrupt paragraph execution.
Therefore interpreter directly  send a <code>kill SIGINT PID</code> to python
process to interrupt execution. Python process catch SIGINT signal with some code defined
in bootstrap.py</p></li>
-<li><p>Matplotlib display feature is made with SVG export (in string) and then
displays it with html code.</p></li>
-</ul>
+<p>For in-depth technical details on current implementation plese reffer <a href="https://github.com/apache/zeppelin/blob/master/python/README.md">python/README.md</a></p>
 
   </div>
 </div>

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/rest-api/rest-configuration.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/rest-api/rest-configuration.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/rest-api/rest-configuration.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/rest-api/rest-configuration.html Wed Jun 22 03:12:47
2016
@@ -235,7 +235,7 @@ limitations under the License.
     &quot;zeppelin.server.context.path&quot;: &quot;/&quot;,
     &quot;zeppelin.ssl.keystore.type&quot;: &quot;JKS&quot;,
     &quot;zeppelin.ssl.truststore.path&quot;: &quot;truststore&quot;,
-    &quot;zeppelin.interpreters&quot;: &quot;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.postgresql.PostgreSqlInterpreter,org.apache.zeppelin.phoenix.PhoenixInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter&quot;,
+    &quot;zeppelin.interpreters&quot;: &quot;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.postgresql.PostgreSqlInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter&quot;,
     &quot;zeppelin.ssl&quot;: &quot;false&quot;,
     &quot;zeppelin.notebook.autoInterpreterBinding&quot;: &quot;true&quot;,
     &quot;zeppelin.notebook.homescreen&quot;: &quot;&quot;,

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/rss.xml Wed Jun 22 03:12:47 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-15T21:10:06-07:00</lastBuildDate>
-        <pubDate>2016-06-15T21:10:06-07:00</pubDate>
+        <lastBuildDate>2016-06-21T20:13:17-07:00</lastBuildDate>
+        <pubDate>2016-06-21T20:13:17-07:00</pubDate>
         <ttl>1800</ttl>
 
 

Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/security/shiroauthentication.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/security/shiroauthentication.html?rev=1749627&r1=1749626&r2=1749627&view=diff
==============================================================================
--- zeppelin/site/docs/0.6.0-SNAPSHOT/security/shiroauthentication.html (original)
+++ zeppelin/site/docs/0.6.0-SNAPSHOT/security/shiroauthentication.html Wed Jun 22 03:12:47
2016
@@ -223,6 +223,33 @@ user2 = password3
 </code></pre></div>
 <p>Those combinations are defined in the <code>conf/shiro.ini</code> file.</p>
 
+<h4>5. Groups and permissions (optional)</h4>
+
+<p>In case you want to leverage user groups and permissions, use one of the following
configuration for LDAP or AD under <code>[main]</code> segment of shiro.ini</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">activeDirectoryRealm
= org.apache.zeppelin.server.ActiveDirectoryGroupRealm
+activeDirectoryRealm.systemUsername = userNameA
+activeDirectoryRealm.systemPassword = passwordA
+activeDirectoryRealm.searchBase = CN=Users,DC=SOME_GROUP,DC=COMPANY,DC=COM
+activeDirectoryRealm.url = ldap://ldap.test.com:389
+activeDirectoryRealm.groupRolesMap = &quot;CN=aGroupName,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM&quot;:&quot;group1&quot;
+activeDirectoryRealm.authorizationCachingEnabled = false
+
+ldapRealm = org.apache.zeppelin.server.LdapGroupRealm
+# search base for ldap groups (only relevant for LdapGroupRealm):
+ldapRealm.contextFactory.environment[ldap.searchBase] = dc=COMPANY,dc=COM
+ldapRealm.contextFactory.url = ldap://ldap.test.com:389
+ldapRealm.userDnTemplate = uid={0},ou=Users,dc=COMPANY,dc=COM
+ldapRealm.contextFactory.authenticationMechanism = SIMPLE
+</code></pre></div>
+<p>also define roles/groups that you want to have in system, like below;</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text">[roles]
+admin = *
+hr = *
+finance = *
+group1 = *
+</code></pre></div>
+<p>All of above configurations are defined in the <code>conf/shiro.ini</code>
file.</p>
+
 <blockquote>
 <p><strong>NOTE :</strong> This documentation is originally from <a
href="https://github.com/apache/zeppelin/blob/master/SECURITY-README.md">SECURITY-README.md</a>.</p>
 </blockquote>



Mime
View raw message