mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
change storage doc layout and fix pre block
This commit is contained in:
parent
4202208b33
commit
72f8ec3702
1 changed files with 10 additions and 9 deletions
|
|
@ -17,7 +17,7 @@ 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.
|
||||
-->
|
||||
### Notebook Storage
|
||||
## Notebook Storage
|
||||
|
||||
Zeppelin has a pluggable notebook storage mechanism controlled by `zeppelin.notebook.storage` configuration option with multiple implementations.
|
||||
There are few Notebook storage systems available for a use out of the box:
|
||||
|
|
@ -31,7 +31,7 @@ By default, only first two of them will be automatically kept in sync by Zeppeli
|
|||
|
||||
</br>
|
||||
|
||||
#### Notebook Storage in local Git repository <a name="Git"></a>
|
||||
## Notebook Storage in local Git repository <a name="Git"></a>
|
||||
|
||||
To enable versioning for all your local notebooks though a standard Git repository - uncomment the next property in `zeppelin-site.xml` in order to use GitNotebookRepo class:
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ To enable versioning for all your local notebooks though a standard Git reposito
|
|||
|
||||
</br>
|
||||
|
||||
#### Notebook Storage in S3 <a name="S3"></a>
|
||||
## Notebook Storage in S3 <a name="S3"></a>
|
||||
|
||||
Notebooks may be stored in S3, and optionally encrypted. The [``DefaultAWSCredentialsProviderChain``](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html) credentials provider is used for credentials and checks the following:
|
||||
|
||||
|
|
@ -69,7 +69,6 @@ export ZEPPELIN_NOTEBOOK_S3_USER = username
|
|||
```
|
||||
|
||||
Or using the file **zeppelin-site.xml** uncomment and complete the S3 settings:
|
||||
|
||||
```
|
||||
<property>
|
||||
<name>zeppelin.notebook.s3.bucket</name>
|
||||
|
|
@ -103,9 +102,9 @@ Comment out the next property to disable local notebook storage (the default):
|
|||
</property>
|
||||
```
|
||||
|
||||
#### Data Encryption in S3
|
||||
### Data Encryption in S3
|
||||
|
||||
##### AWS KMS encryption keys
|
||||
#### AWS KMS encryption keys
|
||||
|
||||
To use an [AWS KMS](https://aws.amazon.com/kms/) encryption key to encrypt notebooks, set the following environment variable in the file **zeppelin-env.sh**:
|
||||
|
||||
|
|
@ -114,6 +113,7 @@ export ZEPPELIN_NOTEBOOK_S3_KMS_KEY_ID = kms-key-id
|
|||
```
|
||||
|
||||
Or using the following setting in **zeppelin-site.xml**:
|
||||
|
||||
```
|
||||
<property>
|
||||
<name>zeppelin.notebook.s3.kmsKeyID</name>
|
||||
|
|
@ -122,7 +122,7 @@ Or using the following setting in **zeppelin-site.xml**:
|
|||
</property>
|
||||
```
|
||||
|
||||
##### Custom Encryption Materials Provider class
|
||||
#### Custom Encryption Materials Provider class
|
||||
|
||||
You may use a custom [``EncryptionMaterialsProvider``](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/EncryptionMaterialsProvider.html) 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 **zeppelin-env.sh**:
|
||||
|
||||
|
|
@ -132,6 +132,7 @@ export ZEPPELIN_NOTEBOOK_S3_EMP = class-name
|
|||
```
|
||||
|
||||
Or using the following setting in **zeppelin-site.xml**:
|
||||
|
||||
```
|
||||
<property>
|
||||
<name>zeppelin.notebook.s3.encryptionMaterialsProvider</name>
|
||||
|
|
@ -140,7 +141,7 @@ Or using the following setting in **zeppelin-site.xml**:
|
|||
```
|
||||
|
||||
</br>
|
||||
#### Notebook Storage in Azure <a name="Azure"></a>
|
||||
## Notebook Storage in Azure <a name="Azure"></a>
|
||||
|
||||
Using `AzureNotebookRepo` you can connect your Zeppelin with your Azure account for notebook storage.
|
||||
|
||||
|
|
@ -203,7 +204,7 @@ Optionally, you can specify Azure folder structure name in the file **zeppelin-s
|
|||
```
|
||||
|
||||
</br>
|
||||
#### Notebook Storage in ZeppelinHub <a name="ZeppelinHub"></a>
|
||||
## Storage in ZeppelinHub <a name="ZeppelinHub"></a>
|
||||
|
||||
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 **zeppelin-site.xml**:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue