Skip to content

Commit

Permalink
[ZEPPELIN-5801] add configuration_storage.md and rename storage.md to…
Browse files Browse the repository at this point in the history
… notebook_storage.md (apache#4446)

Co-authored-by: zhangkunyuan <[email protected]>
  • Loading branch information
zkytech and zhangkunyuan authored Aug 22, 2022
1 parent 71c97ac commit 27709ee
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
65 changes: 65 additions & 0 deletions docs/setup/storage/configuration_storage.md
Original file line number Diff line number Diff line change
@@ -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>
```
Original file line number Diff line number Diff line change
@@ -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
---
<!--
Expand Down

0 comments on commit 27709ee

Please sign in to comment.