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 2015/08/31 16:24:48 UTC
svn commit: r1700253 - in /incubator/zeppelin/site: ./
assets/themes/zeppelin/img/screenshots/ docs/ docs/manual/ docs/rest-api/
docs/rest-api/rest-json/
Author: moon
Date: Mon Aug 31 14:24:37 2015
New Revision: 1700253
URL: http://svn.apache.org/r1700253
Log:
Zeppelin interpreter documentation and interpreter REST API documentation
https://github.com/apache/incubator-zeppelin/pull/256/
Added:
incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_create.png (with props)
incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting.png (with props)
incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png (with props)
incubator/zeppelin/site/docs/manual/interpreters.html
incubator/zeppelin/site/docs/rest-api/
incubator/zeppelin/site/docs/rest-api/rest-interpreter.html
incubator/zeppelin/site/docs/rest-api/rest-json/
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-delete-response.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-list.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-setting.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update.json
Modified:
incubator/zeppelin/site/docs/index.html
incubator/zeppelin/site/index.html
Added: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_create.png
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_create.png?rev=1700253&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_create.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting.png
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting.png?rev=1700253&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png?rev=1700253&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/zeppelin/site/assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/zeppelin/site/docs/index.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/index.html?rev=1700253&r1=1700252&r2=1700253&view=diff
==============================================================================
--- incubator/zeppelin/site/docs/index.html (original)
+++ incubator/zeppelin/site/docs/index.html Mon Aug 31 14:24:37 2015
@@ -156,6 +156,14 @@
+
+
+
+
+
+
+
+
@@ -257,6 +265,14 @@
+
+
+
+
+
+
+
+
<li><a href="/download.html">Download</a></li>
@@ -324,6 +340,8 @@
<h3>Interpreter</h3>
+<p><strong><a href="manual/interpreters.html">Interpreters in zeppelin</a></strong></p>
+
<ul>
<li><a href="../docs/pleasecontribute.html">flink</a></li>
<li><a href="../docs/pleasecontribute.html">hive</a></li>
@@ -353,6 +371,13 @@
<li><a href="./manual/notebookashomepage.html">Notebook as Homepage</a></li>
</ul>
+<h3>REST API</h3>
+
+<ul>
+<li><a href="./rest-api/rest-interpreter.html">Interpreter API</a></li>
+<li><a href="../docs/pleasecontribute.html">Notebook API</a></li>
+</ul>
+
<h3>Development</h3>
<ul>
Added: incubator/zeppelin/site/docs/manual/interpreters.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/manual/interpreters.html?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/manual/interpreters.html (added)
+++ incubator/zeppelin/site/docs/manual/interpreters.html Mon Aug 31 14:24:37 2015
@@ -0,0 +1,375 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Interpreters</title>
+ <meta name="description" content="">
+ <meta name="author" content="The Apache Software Foundation">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- atom & rss feed -->
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+ </head>
+
+ <body>
+
+ <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">
+ <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin">
+ Apache Zeppelin <small>(incubating)</small>
+ </a>
+ </div>
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/community.html">Community</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/docs/index.html">Docs</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/download.html">Download</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="https://github.com/apache/incubator-zeppelin">GitHub</a></li>
+ <li id="apache">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
+ <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ </ul>
+ </li>
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ </div>
+ </div>
+
+
+
+
+ <div class="container">
+
+<!--<div class="hero-unit Interpreters">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <h2>Interpreters in zeppelin</h2>
+
+<p>This section explain the role of Interpreters, interpreters group and interpreters settings in Zeppelin.
+Zeppelin interpreter concept allows any language/data-processing-backend to be plugged into Zeppelin.
+Currently Zeppelin supports many interpreters such as Scala(with Apache Spark), Python(with Apache Spark), SparkSQL, Hive, Markdown and Shell.</p>
+
+<h3>What is zeppelin interpreter?</h3>
+
+<p>Zeppelin Interpreter is the plug-in which enable zeppelin user to use a specific language/data-processing-backend. For example to use scala code in Zeppelin, you need <code>spark</code> interpreter.</p>
+
+<p>When you click on the <code>+Create</code> button in the interpreter page the interpreter drop-down list box will present all the available interpreters on your server.</p>
+
+<p><img src="../../assets/themes/zeppelin/img/screenshots/interpreter_create.png"></p>
+
+<h3>What is zeppelin interpreter setting?</h3>
+
+<p>Zeppelin interpreter setting is the configuration of a given interpreter on zeppelin server. For example, the properties requried for hive JDBC interpreter to connect to the Hive server.</p>
+
+<p><img src="../../assets/themes/zeppelin/img/screenshots/interpreter_setting.png"></p>
+
+<h3>What is zeppelin interpreter group?</h3>
+
+<p>Every Interpreter belongs to an InterpreterGroup. InterpreterGroup is a unit of start/stop interpreter.
+By default, every interpreter belong to a single group but the group might contain more interpreters. For example, spark interpreter group include spark support, pySpark,
+SparkSQL and the dependency loader.</p>
+
+<p>Technically, Zeppelin interpreters from the same group are running in the same JVM.</p>
+
+<p>Interpreters belong to a single group a registered together and all of their properties are listed in the interpreter setting.
+<img src="../../assets/themes/zeppelin/img/screenshots/interpreter_setting_spark.png"></p>
+
+ </div>
+</div>
+
+
+ <hr>
+ <footer>
+ <!-- <p>© 2015 The Apache Software Foundation</p>-->
+ </footer>
+ </div>
+
+
+ <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+
+ <script src="/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script>
+ </body>
+</html>
+
Added: incubator/zeppelin/site/docs/rest-api/rest-interpreter.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-interpreter.html?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-interpreter.html (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-interpreter.html Mon Aug 31 14:24:37 2015
@@ -0,0 +1,531 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Interpreter REST API</title>
+ <meta name="description" content="">
+ <meta name="author" content="The Apache Software Foundation">
+
+ <!-- Enable responsive viewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css">
+ <link href="/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" />
+ <!-- Le fav and touch icons -->
+ <!-- Update these with your own images
+ <link rel="shortcut icon" href="images/favicon.ico">
+ <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+ -->
+
+ <!-- atom & rss feed -->
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed">
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed">
+ </head>
+
+ <body>
+
+ <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/">
+ <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin">
+ Apache Zeppelin <small>(incubating)</small>
+ </a>
+ </div>
+ <nav class="navbar-collapse collapse" role="navigation">
+ <ul class="nav navbar-nav">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/community.html">Community</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/docs/index.html">Docs</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="/download.html">Download</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li><a href="https://github.com/apache/incubator-zeppelin">GitHub</a></li>
+ <li id="apache">
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
+ <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ </ul>
+ </li>
+ </ul>
+ </nav><!--/.navbar-collapse -->
+ </div>
+ </div>
+
+
+
+
+ <div class="container">
+
+<!--<div class="hero-unit Interpreter REST API">
+ <h1></h1>
+</div>
+-->
+
+<div class="row">
+ <div class="col-md-12">
+ <h2>Zeppelin REST API</h2>
+
+<p>Zeppelin provides several REST API's for interaction and remote activation of zeppelin functionality.</p>
+
+<p>All REST API are available starting with the following endpoint <code>http://[zeppelin-server]:[zeppelin-port]/api</code></p>
+
+<p>Note that zeppein REST API receive or return JSON objects, it it recomended you install some JSON view such as
+ <a href="https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc">JSONView</a></p>
+
+<p>If you work with zeppelin and find a need for an additional REST API please <a href="../../community.html">file an issue or send us mail</a> </p>
+
+<p><br /></p>
+
+<h3>Interpreter REST API list</h3>
+
+<p>The role of registered interpreters, settings and interpreters group is described <a href="../manual/interpreters.html">here</a></p>
+
+<p><table class="table-configuration">
+ <col width="200">
+ <tr>
+ <th>List registered interpreters</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>This <code>GET</code> method return all the registered interpreters available on the server.</td>
+ </tr>
+ <tr>
+ <td>URL</td>
+ <td><code>http://[zeppelin-server]:[zeppelin-port]/api/interpreter</code></td>
+ </tr>
+ <tr>
+ <td>Success code</td>
+ <td>200</td>
+ </tr>
+ <tr>
+ <td> Fail code</td>
+ <td> 500 </td>
+ </tr>
+ <tr>
+ <td> sample JSON response
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-list.json">Interpreter list sample</a>
+ </td>
+ </tr>
+ </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+ <col width="200">
+ <tr>
+ <th>List interpreters settings</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>This <code>GET</code> method return all the interpreters settings registered on the server.</td>
+ </tr>
+ <tr>
+ <td>URL</td>
+ <td><code>http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting</code></td>
+ </tr>
+ <tr>
+ <td>Success code</td>
+ <td>200</td>
+ </tr>
+ <tr>
+ <td> Fail code</td>
+ <td> 500 </td>
+ </tr>
+ <tr>
+ <td> sample JSON response
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-setting.json">Setting list sample</a>
+ </td>
+ </tr>
+ </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+ <col width="200">
+ <tr>
+ <th>Create an interpreter setting</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>This <code>POST</code> method adds a new interpreter setting using a registered interpreter to the server.</td>
+ </tr>
+ <tr>
+ <td>URL</td>
+ <td><code>http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting</code></td>
+ </tr>
+ <tr>
+ <td>Success code</td>
+ <td>201</td>
+ </tr>
+ <tr>
+ <td> Fail code</td>
+ <td> 500 </td>
+ </tr>
+ <tr>
+ <td> sample JSON input
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-create.json">Create JSON sample</a>
+ </td>
+ </tr>
+ <tr>
+ <td> sample JSON response
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-create-response.json">Create response sample</a>
+ </td>
+ </tr>
+ </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+ <col width="200">
+ <tr>
+ <th>Update an interpreter setting</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>This <code>PUT</code> method updates an interpreter setting with new properties.</td>
+ </tr>
+ <tr>
+ <td>URL</td>
+ <td><code>http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting/[interpreter ID]</code></td>
+ </tr>
+ <tr>
+ <td>Success code</td>
+ <td>200</td>
+ </tr>
+ <tr>
+ <td> Fail code</td>
+ <td> 500 </td>
+ </tr>
+ <tr>
+ <td> sample JSON input
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-update.json">Update JSON sample</a>
+ </td>
+ </tr>
+ <tr>
+ <td> sample JSON response
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-update-response.json">Update response sample</a>
+ </td>
+ </tr>
+ </table></p>
+
+<p><br/></p>
+
+<p><table class="table-configuration">
+ <col width="200">
+ <tr>
+ <th>Delete an interpreter setting</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>Description</td>
+ <td>This <code>DELETE</code> method deletes an given interpreter setting.</td>
+ </tr>
+ <tr>
+ <td>URL</td>
+ <td><code>http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting/[interpreter ID]</code></td>
+ </tr>
+ <tr>
+ <td>Success code</td>
+ <td>200</td>
+ </tr>
+ <tr>
+ <td> Fail code</td>
+ <td> 500 </td>
+ </tr>
+ <tr>
+ <td> sample JSON response
+ </td>
+ <td> <a href="rest-json/rest-json-interpreter-delete-response.json">Delete response sample</a>
+ </td>
+ </tr>
+ </table></p>
+
+ </div>
+</div>
+
+
+ <hr>
+ <footer>
+ <!-- <p>© 2015 The Apache Software Foundation</p>-->
+ </footer>
+ </div>
+
+
+ <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+
+ <script src="/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script>
+ </body>
+</html>
+
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create-response.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create-response.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create-response.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"status":"CREATED","message":""}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-create.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"name":"md2","group":"md","properties":{"propname":"propvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-delete-response.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-delete-response.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-delete-response.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-delete-response.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"status":"OK"}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-list.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-list.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-list.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-list.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"status":"OK","message":"","body":{"md.md":{"name":"md","group":"md","className":"org.apache.zeppelin.markdown.Markdown","properties":{},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/md"},"flink.flink":{"name":"flink","group":"flink","className":"org.apache.zeppelin.flink.FlinkInterpreter","properties":{"port":{"defaultValue":"6123","description":"port of running JobManager"},"host":{"defaultValue":"local","description":"host name of running JobManager. \u0027local\u0027 runs flink in local mode"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/flink"},"ignite.ignitesql":{"name":"ignitesql","group":"ignite","className":"org.apache.zeppelin.ignite.IgniteSqlInterpreter","properties":{"ignite.jdbc.url":{"defaultValue":"jdbc:ignite://localhost:11211/","description":"Ignite JDBC connection URL."}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/ignite"},"tajo.tql":{"name":"tql","group":"tajo","className":"org.apache.zeppelin.tajo.TajoInterpre
ter","properties":{"tajo.jdbc.uri":{"defaultValue":"jdbc:tajo://localhost:26002/default","description":"The URL for TajoServer."}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/tajo"},"sh.sh":{"name":"sh","group":"sh","className":"org.apache.zeppelin.shell.ShellInterpreter","properties":{},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/sh"},"hive.hql":{"name":"hql","group":"hive","className":"org.apache.zeppelin.hive.HiveInterpreter","properties":{"hive.hiveserver2.password":{"defaultValue":"","description":"The password for the hive user"},"hive.hiveserver2.user":{"defaultValue":"hive","description":"The hive user"},"hive.hiveserver2.url":{"defaultValue":"jdbc:hive2://localhost:10000","description":"The URL for HiveServer2."}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/hive"},"ignite.ignite":{"name":"ignite","group":"ignite","className":"org.apache.zeppelin.ignite.IgniteInterpreter","properties":{"ignite.config.url":{"defaultValue":
"","description":"Configuration URL. Overrides all other settings."},"ignite.peerClassLoadingEnabled":{"defaultValue":"true","description":"Peer class loading enabled. true or false"},"ignite.clientMode":{"defaultValue":"true","description":"Client mode. true or false"},"ignite.addresses":{"defaultValue":"127.0.0.1:47500..47509","description":"Coma separated list of addresses (e.g. 127.0.0.1:47500 or 127.0.0.1:47500..47509)"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/ignite"},"psql.sql":{"name":"sql","group":"psql","className":"org.apache.zeppelin.postgresql.PostgreSqlInterpreter","properties":{"postgresql.password":{"defaultValue":"","description":"The PostgreSQL user password"},"postgresql.max.result":{"defaultValue":"1000","description":"Max number of SQL result to display."},"postgresql.user":{"defaultValue":"gpadmin","description":"The PostgreSQL user name"},"postgresql.url":{"defaultValue":"jdbc:postgresql://localhost:5432/","description":"The URL for Post
greSQL."},"postgresql.driver.name":{"defaultValue":"org.postgresql.Driver","description":"JDBC Driver Name"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/psql"},"geode.oql":{"name":"oql","group":"geode","className":"org.apache.zeppelin.geode.GeodeOqlInterpreter","properties":{"geode.max.result":{"defaultValue":"1000","description":"Max number of OQL result to display."},"geode.locator.host":{"defaultValue":"localhost","description":"The Geode Locator Host."},"geode.locator.port":{"defaultValue":"10334","description":"The Geode Locator Port"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/geode"},"cassandra.cassandra":{"name":"cassandra","group":"cassandra","className":"org.apache.zeppelin.cassandra.CassandraInterpreter","properties":{"cassandra.pooling.new.connection.threshold.remote":{"defaultValue":"100","description":"Cassandra new connection threshold remove. Protocol V2 and below default \u003d 100Protocol V3 and above default \u003d 200"},"cas
sandra.query.default.fetchSize":{"defaultValue":"5000","description":"Cassandra query default fetch size. Default \u003d 5000"},"cassandra.socket.tcp.no_delay":{"defaultValue":"true","description":"Cassandra socket TCP no delay. Default \u003d true"},"cassandra.hosts":{"defaultValue":"localhost","description":"Comma separated Cassandra hosts (DNS name or IP address). Default \u003d localhost. Ex: \u0027192.168.0.12,node2,node3\u0027"},"cassandra.credentials.username":{"defaultValue":"none","description":"Cassandra credentials username. Default \u003d \u0027none\u0027"},"cassandra.pooling.new.connection.threshold.local":{"defaultValue":"100","description":"Cassandra new connection threshold local. Protocol V2 and below default \u003d 100Protocol V3 and above default \u003d 800"},"cassandra.socket.read.timeout.millisecs":{"defaultValue":"12000","description":"Cassandra socket read timeout in millisecs. Default \u003d 12000"},"cassandra.load.balancing.policy":{"defaultValue":"DEFAULT",
"description":"Cassandra Load Balancing Policy. Default \u003d new TokenAwarePolicy(new DCAwareRoundRobinPolicy())"},"cassandra.pooling.max.request.per.connection.local":{"defaultValue":"1024","description":"Cassandra max request per connection local. Protocol V2 and below default \u003d 128Protocol V3 and above default \u003d 1024"},"cassandra.cluster":{"defaultValue":"Test Cluster","description":"Cassandra cluster name. Default \u003d \u0027Test Cluster\u0027"},"cassandra.pooling.heartbeat.interval.seconds":{"defaultValue":"30","description":"Cassandra pool heartbeat interval in secs. Default \u003d 30"},"cassandra.query.default.serial.consistency":{"defaultValue":"SERIAL","description":"Cassandra query default serial consistency level. Default \u003d SERIAL"},"cassandra.retry.policy":{"defaultValue":"DEFAULT","description":"Cassandra Retry Policy. Default \u003d DefaultRetryPolicy.INSTANCE"},"cassandra.native.port":{"defaultValue":"9042","description":"Cassandra native port. Defa
ult \u003d 9042"},"cassandra.interpreter.parallelism":{"defaultValue":"10","description":"Cassandra interpreter parallelism.Default \u003d 10"},"cassandra.pooling.pool.timeout.millisecs":{"defaultValue":"5000","description":"Cassandra pool time out in millisecs. Default \u003d 5000"},"cassandra.pooling.max.request.per.connection.remote":{"defaultValue":"256","description":"Cassandra max request per connection remote. Protocol V2 and below default \u003d 128Protocol V3 and above default \u003d 256"},"cassandra.compression.protocol":{"defaultValue":"NONE","description":"Cassandra compression protocol. Available values: NONE, SNAPPY, LZ4. Default \u003d NONE"},"cassandra.socket.connection.timeout.millisecs":{"defaultValue":"5000","description":"Cassandra socket default connection timeout in millisecs. Default \u003d 5000"},"cassandra.query.default.consistency":{"defaultValue":"ONE","description":"Cassandra query default consistency level. Default \u003d ONE"},"cassandra.keyspace":{"def
aultValue":"system","description":"Cassandra keyspace name. Default \u003d \u0027system\u0027"},"cassandra.reconnection.policy":{"defaultValue":"DEFAULT","description":"Cassandra Reconnection Policy. Default \u003d new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000)"},"cassandra.pooling.max.connection.per.host.local":{"defaultValue":"8","description":"Cassandra max connection per host local. Protocol V2 and below default \u003d 8Protocol V3 and above default \u003d 1"},"cassandra.credentials.password":{"defaultValue":"none","description":"Cassandra credentials password. Default \u003d \u0027none\u0027"},"cassandra.protocol.version":{"defaultValue":"3","description":"Cassandra protocol version. Default \u003d 3"},"cassandra.max.schema.agreement.wait.second":{"defaultValue":"10","description":"Cassandra max schema agreement wait in second.Default \u003d ProtocolOptions.DEFAULT_MAX_SCHEMA_AGREEMENT_WAIT_SECONDS"},"cassandra.pooling.core.connection.per.host.remote":{"defaultValue":"
1","description":"Cassandra core connection per host remove. Protocol V2 and below default \u003d 1Protocol V3 and above default \u003d 1"},"cassandra.pooling.core.connection.per.host.local":{"defaultValue":"2","description":"Cassandra core connection per host local. Protocol V2 and below default \u003d 2Protocol V3 and above default \u003d 1"},"cassandra.pooling.max.connection.per.host.remote":{"defaultValue":"2","description":"Cassandra max connection per host remote. Protocol V2 and below default \u003d 2Protocol V3 and above default \u003d 1"},"cassandra.pooling.idle.timeout.seconds":{"defaultValue":"120","description":"Cassandra idle time out in seconds. Default \u003d 120"},"cassandra.speculative.execution.policy":{"defaultValue":"DEFAULT","description":"Cassandra Speculative Execution Policy. Default \u003d NoSpeculativeExecutionPolicy.INSTANCE"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/cassandra"},"lens.lens":{"name":"lens","group":"lens","className":"o
rg.apache.zeppelin.lens.LensInterpreter","properties":{"lens.server.base.url":{"defaultValue":"http://\u003chostname\u003e:\u003cport\u003e/lensapi","description":"The URL for Lens Server"},"zeppelin.lens.maxThreads":{"defaultValue":"10","description":"If concurrency is true then how many threads?"},"zeppelin.lens.maxResults":{"defaultValue":"1000","description":"max number of rows to display"},"lens.client.dbname":{"defaultValue":"default","description":"The database schema name"},"lens.query.enable.persistent.resultset":{"defaultValue":"false","description":"Apache Lens to persist result in HDFS?"},"zeppelin.lens.run.concurrent":{"defaultValue":"true","description":"Run concurrent Lens Sessions"},"lens.session.cluster.user":{"defaultValue":"default","description":"Hadoop cluster username"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/lens"},"spark.spark":{"name":"spark","group":"spark","className":"org.apache.zeppelin.spark.SparkInterpreter","properties":{"spark.
executor.memory":{"defaultValue":"512m","description":"Executor memory per worker instance. ex) 512m, 32g"},"args":{"defaultValue":"","description":"spark commandline args"},"spark.yarn.jar":{"defaultValue":"","description":"The location of the Spark jar file. If you use yarn as a cluster, we should set this value"},"zeppelin.spark.useHiveContext":{"defaultValue":"true","description":"Use HiveContext instead of SQLContext if it is true."},"spark.app.name":{"defaultValue":"Zeppelin","description":"The name of spark application."},"spark.cores.max":{"defaultValue":"","description":"Total number of cores to use. Empty value uses all available core."},"zeppelin.spark.maxResult":{"defaultValue":"1000","description":"Max number of SparkSQL result to display."},"master":{"defaultValue":"local[*]","description":"Spark master uri. ex) spark://masterhost:7077"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/spark"},"angular.angular":{"name":"angular","group":"angular","classNa
me":"org.apache.zeppelin.angular.AngularInterpreter","properties":{},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/angular"},"phoenix.sql":{"name":"sql","group":"phoenix","className":"org.apache.zeppelin.phoenix.PhoenixInterpreter","properties":{"phoenix.jdbc.url":{"defaultValue":"jdbc:phoenix:localhost:2181:/hbase-unsecure","description":"Phoenix JDBC connection string"},"phoenix.user":{"defaultValue":"","description":"The Phoenix user"},"phoenix.driver.name":{"defaultValue":"org.apache.phoenix.jdbc.PhoenixDriver","description":"Phoenix Driver classname."},"phoenix.password":{"defaultValue":"","description":"The password for the Phoenix user"},"phoenix.max.result":{"defaultValue":"1000","description":"Max number of SQL results to display."}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/phoenix"},"spark.pyspark":{"name":"pyspark","group":"spark","className":"org.apache.zeppelin.spark.PySparkInterpreter","properties":{"spark.home":{"defaultValue":"","
description":"Spark home path. Should be provided for pyspark"},"zeppelin.pyspark.python":{"defaultValue":"python","description":"Python command to run pyspark with"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/spark"},"spark.sql":{"name":"sql","group":"spark","className":"org.apache.zeppelin.spark.SparkSqlInterpreter","properties":{"zeppelin.spark.concurrentSQL":{"defaultValue":"false","description":"Execute multiple SQL concurrently if set true."},"zeppelin.spark.maxResult":{"defaultValue":"1000","description":"Max number of SparkSQL result to display."}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/spark"},"spark.dep":{"name":"dep","group":"spark","className":"org.apache.zeppelin.spark.DepInterpreter","properties":{"zeppelin.dep.localrepo":{"defaultValue":"local-repo","description":"local repository for dependency loader"}},"path":"/home/Downloads/incubator-zeppelin-master/interpreter/spark"}}}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-setting.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-setting.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-setting.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-setting.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"status":"OK","message":"","body":[{"id":"2AY6GV7Q3","name":"spark","group":"spark","properties":{"spark.cores.max":"","spark.yarn.jar":"","master":"local[*]","zeppelin.spark.maxResult":"1000","zeppelin.dep.localrepo":"local-repo","spark.app.name":"Zeppelin","spark.executor.memory":"512m","zeppelin.spark.useHiveContext":"true","args":"","spark.home":"","zeppelin.spark.concurrentSQL":"false","zeppelin.pyspark.python":"python"},"interpreterGroup":[{"class":"org.apache.zeppelin.spark.SparkInterpreter","name":"spark"},{"class":"org.apache.zeppelin.spark.PySparkInterpreter","name":"pyspark"},{"class":"org.apache.zeppelin.spark.SparkSqlInterpreter","name":"sql"},{"class":"org.apache.zeppelin.spark.DepInterpreter","name":"dep"}],"option":{"remote":true}},{"id":"2AYUGP2D5","name":"md","group":"md","properties":{"":""},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}},{"id":"2AWBZQVB8","name":"angular","group":"angular","properties"
:{},"interpreterGroup":[{"class":"org.apache.zeppelin.angular.AngularInterpreter","name":"angular"}],"option":{"remote":true}},{"id":"2AWSES8Z8","name":"sh","group":"sh","properties":{},"interpreterGroup":[{"class":"org.apache.zeppelin.shell.ShellInterpreter","name":"sh"}],"option":{"remote":true}},{"id":"2AWTCSXEX","name":"hive","group":"hive","properties":{"hive.hiveserver2.url":"jdbc:hive2://localhost:10000","hive.hiveserver2.password":"","hive.hiveserver2.user":"hive"},"interpreterGroup":[{"class":"org.apache.zeppelin.hive.HiveInterpreter","name":"hql"}],"option":{"remote":true}}]}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update-response.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update-response.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update-response.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"status":"OK","message":"","body":{"id":"2AYMV9Q7N","name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}}
\ No newline at end of file
Added: incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update.json
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update.json?rev=1700253&view=auto
==============================================================================
--- incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update.json (added)
+++ incubator/zeppelin/site/docs/rest-api/rest-json/rest-json-interpreter-update.json Mon Aug 31 14:24:37 2015
@@ -0,0 +1 @@
+{"name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}
\ No newline at end of file
Modified: incubator/zeppelin/site/index.html
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/index.html?rev=1700253&r1=1700252&r2=1700253&view=diff
==============================================================================
--- incubator/zeppelin/site/index.html (original)
+++ incubator/zeppelin/site/index.html Mon Aug 31 14:24:37 2015
@@ -140,6 +140,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -189,13 +213,37 @@
+
+ <li><a href="/docs/index.html">Docs</a></li>
+
+
+
+
+
+
-
- <li><a href="/docs/index.html">Docs</a></li>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -312,7 +360,7 @@
<h3>Multiple language backend</h3>
<p>Zeppelin interpreter concept allows any language/data-processing-backend to be plugged into Zeppelin.
-Current languages included in the Zeppelin interpreter are: Scala(with Apache Spark), Python(with Apache Spark), SparkSQL, Hive, Markdown and Shell.</p>
+Currently Zeppelin supports many interpreters such as Scala(with Apache Spark), Python(with Apache Spark), SparkSQL, Hive, Markdown and Shell.</p>
<p><img class="img-responsive" src="assets/themes/zeppelin/img/screenshots/multiple_language_backend.png" /></p>