forked from apache/zeppelin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ZEPPELIN-5801] add configuration_storage.md and rename storage.md to…
… notebook_storage.md (apache#4446) Co-authored-by: zhangkunyuan <[email protected]>
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
``` |
2 changes: 1 addition & 1 deletion
2
docs/setup/storage/storage.md → docs/setup/storage/notebook_storage.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters