You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2022/08/22 10:54:58 UTC

[zeppelin] branch master updated: [ZEPPELIN-5801] add configuration_storage.md and rename storage.md to notebook_storage.md (#4446)

This is an automated email from the ASF dual-hosted git repository.

pdallig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 27709eec3b [ZEPPELIN-5801] add configuration_storage.md and rename storage.md to notebook_storage.md (#4446)
27709eec3b is described below

commit 27709eec3b486ba1ade1f5cc3ef7e50c3ff029c8
Author: zkyTech <zh...@hotmail.com>
AuthorDate: Mon Aug 22 18:54:51 2022 +0800

    [ZEPPELIN-5801] add configuration_storage.md and rename storage.md to notebook_storage.md (#4446)
    
    Co-authored-by: zhangkunyuan <zh...@cmhi.chinamobile.com>
---
 docs/setup/storage/configuration_storage.md        | 65 ++++++++++++++++++++++
 .../storage/{storage.md => notebook_storage.md}    |  2 +-
 2 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/docs/setup/storage/configuration_storage.md b/docs/setup/storage/configuration_storage.md
new file mode 100644
index 0000000000..3a5bbff9df
--- /dev/null
+++ b/docs/setup/storage/configuration_storage.md
@@ -0,0 +1,65 @@
+---
+layout: page
+title: "Configuration Storage for Apache Zeppelin"
+description: "Configuration Storage for Apache Zeppelin"
+group: setup/storage
+---
+<!--
+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.
+-->
+{% include JB/setup %}
+
+# Configuration Storage for Apache Zeppelin
+
+<div id="toc"></div>
+
+## Overview
+Zeppelin has lots of configuration which is stored in files:
+- `interpreter.json` (This file contains all the interpreter setting info)
+- `notebook-authorization.json` (This file contains all the note authorization info)
+- `credential.json` (This file contains the credential info)
+
+## Configuration Storage in hadoop compatible file system
+
+Set following properties in `zeppelin-site.xml`:
+```xml
+<property>
+    <name>zeppelin.config.storage.class</name>
+    <value>org.apache.zeppelin.storage.FileSystemConfigStorage</value>
+    <description>configuration persistence layer implementation</description>
+</property>
+<property>
+    <name>zeppelin.config.fs.dir</name>
+    <value></value>
+    <description>path on the hadoop compatible file system</description>
+</property>
+```
+Also specify `HADOOP_CONF_DIR` in `zeppelin-env.sh` so that Zeppelin can find the right hadoop configuration files.
+
+If your hadoop cluster is kerberized, then you need to specify `zeppelin.server.kerberos.keytab` and `zeppelin.server.kerberos.principal`
+
+
+## Configuration Storage in local file system
+By default, zeppelin store configuration on local file system.
+```xml
+<property>
+    <name>zeppelin.config.storage.class</name>
+    <value>org.apache.zeppelin.storage.LocalConfigStorage</value>
+    <description>configuration persistence layer implementation</description>
+</property>
+<property>
+    <name>zeppelin.config.fs.dir</name>
+    <value></value>
+    <description>path on local file system</description>
+</property>
+```
\ No newline at end of file
diff --git a/docs/setup/storage/storage.md b/docs/setup/storage/notebook_storage.md
similarity index 99%
rename from docs/setup/storage/storage.md
rename to docs/setup/storage/notebook_storage.md
index 71b447c217..e7a5b26ccc 100644
--- a/docs/setup/storage/storage.md
+++ b/docs/setup/storage/notebook_storage.md
@@ -1,7 +1,7 @@
 ---
 layout: page
 title: "Notebook Storage for Apache Zeppelin"
-description: Apache Zeppelin has a pluggable notebook storage mechanism controlled by zeppelin.notebook.storage configuration option with multiple implementations."
+description: "Apache Zeppelin has a pluggable notebook storage mechanism controlled by zeppelin.notebook.storage configuration option with multiple implementations."
 group: setup/storage
 ---
 <!--