Added: zeppelin/site/docs/0.7.0-SNAPSHOT/storage/storage.html
URL: 
http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.0-SNAPSHOT/storage/storage.html?rev=1751605&view=auto
==============================================================================
--- zeppelin/site/docs/0.7.0-SNAPSHOT/storage/storage.html (added)
+++ zeppelin/site/docs/0.7.0-SNAPSHOT/storage/storage.html Wed Jul  6 06:25:29 
2016
@@ -0,0 +1,387 @@
+
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Storage</title>
+    <meta name="description" content="Notebook Storage option for Zeppelin">
+    <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]-->
+
+    <link 
href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" 
rel="stylesheet">
+
+    <!-- Le styles -->
+    <link 
href="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/bootstrap/css/bootstrap.css" 
rel="stylesheet">
+    <link 
href="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/css/style.css?body=1" 
rel="stylesheet" type="text/css">
+    <link href="/docs/0.7.0-SNAPSHOT/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">
+    -->
+
+    <!-- Js -->
+    <script src="https://code.jquery.com/jquery-1.10.2.min.js";></script>
+    <script 
src="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script>
+    <script 
src="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/js/docs.js"></script>
+    <script 
src="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/js/anchor.min.js"></script>
+    <script 
src="/docs/0.7.0-SNAPSHOT/assets/themes/zeppelin/js/toc.js"></script>
+
+    <!-- atom & rss feed -->
+    <link href="/docs/0.7.0-SNAPSHOT/atom.xml" type="application/atom+xml" 
rel="alternate" title="Sitewide ATOM Feed">
+    <link href="/docs/0.7.0-SNAPSHOT/rss.xml" type="application/rss+xml" 
rel="alternate" title="Sitewide RSS Feed">
+  </head>
+
+  <body>
+    
+        <div id="menu" 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="/docs/0.7.0-SNAPSHOT">
+            <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" 
width="50" alt="I'm zeppelin">
+            <span style="vertical-align:middle">Zeppelin</span>
+            <span 
style="vertical-align:baseline"><small>0.7.0-SNAPSHOT</small></span>
+          </a>
+        </div>
+        <nav class="navbar-collapse collapse" role="navigation">
+          <ul class="nav navbar-nav">
+            <li>
+              <a href="#" data-toggle="dropdown" class="dropdown-toggle">Quick 
Start <b class="caret"></b></a>
+              <ul class="dropdown-menu">
+                <li><a href="/docs/0.7.0-SNAPSHOT/index.html">What is Apache 
Zeppelin ?</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Getting Started</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/install/install.html">Install</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/install/install.html#apache-zeppelin-configuration">Configuration</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/quickstart/explorezeppelinui.html">Explore Zeppelin 
UI</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/quickstart/tutorial.html">Tutorial</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Basic Feature Guide</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li>
+                <li><a href="/docs/0.7.0-SNAPSHOT/manual/publish.html">Publish 
your Paragraph</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/manual/notebookashomepage.html">Customize Zeppelin 
Homepage</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>More</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/install/virtual_machine.html">Zeppelin on Vagrant 
VM</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/install/upgrade.html">Upgrade Zeppelin 
Version</a></li>
+              </ul>
+            </li>
+            <li>
+              <a href="#" data-toggle="dropdown" 
class="dropdown-toggle">Interpreter <b class="caret"></b></a>
+              <ul class="dropdown-menu scrollable-menu">
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/manual/interpreters.html">Overview</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Usage</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/manual/interpreterinstallation.html">Interpreter 
Installation</a></li>
+                <!--<li><a 
href="/docs/0.7.0-SNAPSHOT/manual/dynamicinterpreterload.html">Dynamic 
Interpreter Loading</a></li>-->
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/manual/dependencymanagement.html">Interpreter 
Dependency Management</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Available 
Interpreters</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/alluxio.html">Alluxio</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/cassandra.html">Cassandra</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/flink.html">Flink</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/geode.html">Geode</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/hbase.html">HBase</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/hdfs.html">HDFS</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/hive.html">Hive</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/ignite.html">Ignite</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/lens.html">Lens</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/livy.html">Livy</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/markdown.html">Markdown</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/python.html">Python</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/postgresql.html">Postgresql, 
HAWQ</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/r.html">R</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/scalding.html">Scalding</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/pleasecontribute.html">Shell</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/interpreter/spark.html">Spark</a></li>
+              </ul>
+            </li>
+            <li>
+              <a href="#" data-toggle="dropdown" 
class="dropdown-toggle">Display System <b class="caret"></b></a>
+              <ul class="dropdown-menu">
+                <li class="title"><span><b>Basic Display System</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/displaysystem/basicdisplaysystem.html#text">Text</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/displaysystem/basicdisplaysystem.html#html">Html</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/displaysystem/basicdisplaysystem.html#table">Table</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Angular API</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/displaysystem/back-end-angular.html">Angular 
(backend API)</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/displaysystem/front-end-angular.html">Angular 
(frontend API)</a></li>
+              </ul>
+            </li>
+            <li>
+              <a href="#" data-toggle="dropdown" 
class="dropdown-toggle">More<b class="caret"></b></a>
+              <ul class="dropdown-menu scrollable-menu" style="right: 0; left: 
auto;">
+                <li class="title"><span><b>Notebook Storage</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/storage/storage.html#notebook-storage-in-local-git-repository">Git
 Storage</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/storage/storage.html#notebook-storage-in-s3">S3 
Storage</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/storage/storage.html#notebook-storage-in-azure">Azure
 Storage</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/storage/storage.html#storage-in-zeppelinhub">ZeppelinHub
 Storage</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>REST API</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/rest-api/rest-interpreter.html">Interpreter 
API</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/rest-api/rest-configuration.html">Configuration 
API</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/rest-api/rest-credential.html">Credential 
API</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Security</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/security/authentication.html">Authentication for 
NGINX</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/security/shiroauthentication.html">Shiro 
Authentication</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/security/notebook_authorization.html">Notebook 
Authorization</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/security/interpreter_authorization.html">Interpreter 
& Data Resource Authorization</a></li>
+                <li role="separator" class="divider"></li>
+                <li class="title"><span><b>Contibute</b><span></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/development/writingzeppelininterpreter.html">Writing 
Zeppelin Interpreter</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/development/writingzeppelinapplication.html">Writing 
Zeppelin Application</a></li>                
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/development/howtocontribute.html">How to contribute 
(code)</a></li>
+                <li><a 
href="/docs/0.7.0-SNAPSHOT/development/howtocontributewebsite.html">How to 
contribute (website)</a></li>
+              </ul>
+            </li>
+          </ul>
+        </nav><!--/.navbar-collapse -->
+      </div>
+    </div>
+    
+
+    <div class="content">
+      
+<!--<div class="hero-unit Storage">
+  <h1></h1>
+</div>
+-->
+
+<div class="row">
+  <div class="col-md-12">
+    <!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<h1>Notebook storage options for Apache Zeppelin</h1>
+
+<div id="toc"></div>
+
+<h2>Overview</h2>
+
+<p>Apache Zeppelin has a pluggable notebook storage mechanism controlled by 
<code>zeppelin.notebook.storage</code> configuration option with multiple 
implementations.
+There are few notebook storage systems available for a use out of the box:</p>
+
+<ul>
+<li>(default) all notes are saved in the notebook folder in your local File 
System - <code>VFSNotebookRepo</code></li>
+<li>use local file system and version it using local Git repository - 
<code>GitNotebookRepo</code></li>
+<li>storage using Amazon S3 service - <code>S3NotebookRepo</code></li>
+<li>storage using Azure service - <code>AzureNotebookRepo</code></li>
+</ul>
+
+<p>Multiple storage systems can be used at the same time by providing a 
comma-separated list of the class-names in the configuration.
+By default, only first two of them will be automatically kept in sync by 
Zeppelin.</p>
+
+<p></br></p>
+
+<h2>Notebook Storage in local Git repository <a name="Git"></a></h2>
+
+<p>To enable versioning for all your local notebooks though a standard Git 
repository - uncomment the next property in <code>zeppelin-site.xml</code> in 
order to use GitNotebookRepo class:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.GitNotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p></br></p>
+
+<h2>Notebook Storage in S3 <a name="S3"></a></h2>
+
+<p>Notebooks may be stored in S3, and optionally encrypted.  The <a 
href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html";><code>DefaultAWSCredentialsProviderChain</code></a>
 credentials provider is used for credentials and checks the following:</p>
+
+<ul>
+<li>The <code>AWS_ACCESS_KEY_ID</code> and <code>AWS_SECRET_ACCESS_KEY</code> 
environment variables</li>
+<li>The <code>aws.accessKeyId</code> and <code>aws.secretKey</code> Java 
System properties</li>
+<li>Credential profiles file at the default location 
(<code>~/.aws/credentials</code>) used by the AWS CLI</li>
+<li>Instance profile credentials delivered through the Amazon EC2 metadata 
service</li>
+</ul>
+
+<p></br>
+The following folder structure will be created in S3:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">s3://bucket_name/username/notebook-id/
+</code></pre></div>
+<p>Configure by setting environment variables in the file 
<strong>zeppelin-env.sh</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">export ZEPPELIN_NOTEBOOK_S3_BUCKET = bucket_name
+export ZEPPELIN_NOTEBOOK_S3_USER = username
+</code></pre></div>
+<p>Or using the file <strong>zeppelin-site.xml</strong> uncomment and complete 
the S3 settings:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.s3.bucket&lt;/name&gt;
+  &lt;value&gt;bucket_name&lt;/value&gt;
+  &lt;description&gt;bucket name for notebook storage&lt;/description&gt;
+&lt;/property&gt;
+&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.s3.user&lt;/name&gt;
+  &lt;value&gt;username&lt;/value&gt;
+  &lt;description&gt;user name for s3 folder structure&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>Uncomment the next property for use S3NotebookRepo class:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.S3NotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>Comment out the next property to disable local notebook storage (the 
default):</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.VFSNotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<h3>Data Encryption in S3</h3>
+
+<h4>AWS KMS encryption keys</h4>
+
+<p>To use an <a href="https://aws.amazon.com/kms/";>AWS KMS</a> encryption key 
to encrypt notebooks, set the following environment variable in the file 
<strong>zeppelin-env.sh</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">export ZEPPELIN_NOTEBOOK_S3_KMS_KEY_ID = kms-key-id
+</code></pre></div>
+<p>Or using the following setting in <strong>zeppelin-site.xml</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.s3.kmsKeyID&lt;/name&gt;
+  &lt;value&gt;AWS-KMS-Key-UUID&lt;/value&gt;
+  &lt;description&gt;AWS KMS key ID used to encrypt notebook data in 
S3&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<h4>Custom Encryption Materials Provider class</h4>
+
+<p>You may use a custom <a 
href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/EncryptionMaterialsProvider.html";><code>EncryptionMaterialsProvider</code></a>
 class as long as it is available in the classpath and able to initialize 
itself from system properties or another mechanism.  To use this, set the 
following environment variable in the file <strong>zeppelin-env.sh</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">export ZEPPELIN_NOTEBOOK_S3_EMP = class-name
+</code></pre></div>
+<p>Or using the following setting in <strong>zeppelin-site.xml</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.s3.encryptionMaterialsProvider&lt;/name&gt;
+  &lt;value&gt;provider implementation class name&lt;/value&gt;
+  &lt;description&gt;Custom encryption materials provider used to encrypt 
notebook data in S3&lt;/description&gt;
+</code></pre></div>
+<p></br></p>
+
+<h2>Notebook Storage  in Azure <a name="Azure"></a></h2>
+
+<p>Using <code>AzureNotebookRepo</code> you can connect your Zeppelin with 
your Azure account for notebook storage.</p>
+
+<p>First of all, input your <code>AccountName</code>, <code>AccountKey</code>, 
and <code>Share Name</code> in the file <strong>zeppelin-site.xml</strong> by 
commenting out and completing the next properties:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.azure.connectionString&lt;/name&gt;
+  
&lt;value&gt;DefaultEndpointsProtocol=https;AccountName=&lt;accountName&gt;;AccountKey=&lt;accountKey&gt;&lt;/value&gt;
+  &lt;description&gt;Azure account credentials&lt;/description&gt;
+&lt;/property&gt;
+
+&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.azure.share&lt;/name&gt;
+  &lt;value&gt;zeppelin&lt;/value&gt;
+  &lt;description&gt;share name for notebook storage&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>Secondly, you can initialize <code>AzureNotebookRepo</code> class in the 
file <strong>zeppelin-site.xml</strong> by commenting the next property:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.VFSNotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>and commenting out:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  
&lt;value&gt;org.apache.zeppelin.notebook.repo.AzureNotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>In case you want to use simultaneously your local storage with Azure 
storage use the following property instead:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.VFSNotebookRepo, 
apache.zeppelin.notebook.repo.AzureNotebookRepo&lt;/value&gt;
+  &lt;description&gt;notebook persistence layer 
implementation&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p>Optionally, you can specify Azure folder structure name in the file 
<strong>zeppelin-site.xml</strong> by commenting out the next property:</p>
+<div class="highlight"><pre><code class="text language-text" data-lang="text"> 
&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.azure.user&lt;/name&gt;
+  &lt;value&gt;user&lt;/value&gt;
+  &lt;description&gt;optional user name for Azure folder 
structure&lt;/description&gt;
+&lt;/property&gt;
+</code></pre></div>
+<p></br></p>
+
+<h2>Storage in ZeppelinHub  <a name="ZeppelinHub"></a></h2>
+
+<p>ZeppelinHub storage layer allows out of the box connection of Zeppelin 
instance with your ZeppelinHub account. First of all, you need to either 
comment out the following  property in <strong>zeppelin-site.xml</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">&lt;!-- For connecting your Zeppelin with ZeppelinHub --&gt;
+&lt;!--
+&lt;property&gt;
+  &lt;name&gt;zeppelin.notebook.storage&lt;/name&gt;
+  &lt;value&gt;org.apache.zeppelin.notebook.repo.VFSNotebookRepo, 
org.apache.zeppelin.notebook.repo.zeppelinhub.ZeppelinHubRepo&lt;/value&gt;
+  &lt;description&gt;two notebook persistence layers (local + 
ZeppelinHub)&lt;/description&gt;
+&lt;/property&gt;
+--&gt;
+</code></pre></div>
+<p>or set the environment variable in the file 
<strong>zeppelin-env.sh</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">export 
ZEPPELIN_NOTEBOOK_STORAGE=&quot;org.apache.zeppelin.notebook.repo.VFSNotebookRepo,
 org.apache.zeppelin.notebook.repo.zeppelinhub.ZeppelinHubRepo&quot;
+</code></pre></div>
+<p>Secondly, you need to set the environment variables in the file 
<strong>zeppelin-env.sh</strong>:</p>
+<div class="highlight"><pre><code class="text language-text" 
data-lang="text">export ZEPPELINHUB_API_TOKEN = ZeppelinHub token
+export ZEPPELINHUB_API_ADDRESS = address of ZeppelinHub service (e.g. 
https://www.zeppelinhub.com)
+</code></pre></div>
+<p>You can get more information on generating <code>token</code> and using 
authentication on the corresponding <a 
href="http://help.zeppelinhub.com/zeppelin_integration/#add-a-new-zeppelin-instance-and-generate-a-token";>help
 page</a>.</p>
+
+  </div>
+</div>
+
+
+      <hr>
+      <footer>
+        <!-- <p>&copy; 2016 The Apache Software Foundation</p>-->
+      </footer>
+    </div>
+
+    
+
+
+  <script type="text/javascript">
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
+  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45176241-5', 'zeppelin.apache.org');
+  ga('require', 'linkid', 'linkid.js');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+  </body>
+</html>
+

Propchange: zeppelin/site/docs/0.7.0-SNAPSHOT/storage/storage.html
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to