You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by "czam01@gmail.com" <cz...@gmail.com> on 2017/09/01 00:48:18 UTC

Zeppelin Notebooks does not stored on S3

I have followed the apache zeppelin instructions but it does not work

this zeppelin-env.sh file are in 3 different locations:
1- /etc/zeppelin/conf
2- /etc/zeppelin/conf.dist
3-/usr/lib/zeppelin/conf

and I put the following lines
export ZEPPELIN_NOTEBOOK_S3_BUCKET=zeppelinenv
export ZEPPELIN_NOTEBOOK_S3_USER=eavaria

this zeppelin-site.xml file are in 3 different locations:
1- /etc/zeppelin/conf
2- /etc/zeppelin/conf.dist
3-/usr/lib/zeppelin/conf

<!-- Amazon S3 notebook storage -->
<!-- Creates the following directory structure: s3://{bucket}/{username}/{notebook-id}/note.json -->

<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>eavaria</value>
  <description>user name for s3 folder structure</description>
</property>

<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>zeppelinenv</value>
  <description>bucket name for notebook storage</description>
</property>
<!--
<property>
  <name>zeppelin.notebook.s3.endpoint</name>
  <value>s3.amazonaws.com</value>
  <description>endpoint for s3 bucket</description>
</property>
-->
<property>
  <name>zeppelin.notebook.storage</name>
  <value>org.apache.zeppelin.notebook.repo.S3NotebookRepo</value>
  <description>notebook persistence layer implementation</description>
</property>

It is not working, anyone could help me with this issue?

When i create a notebook it stores local /var/lib/notebooks but not in the S3 Bucket

Re: Zeppelin Notebooks does not stored on S3

Posted by Saksham Srivastava <sa...@outlook.com>.
Although I haven't tried the setup but as you have mentioned, you seem to have wrong property names,


<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>eavaria</value>
  <description>user name for s3 folder structure</description>
</property>
<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>zeppelinenv</value>
  <description>bucket name for notebook storage</description>
</property>



The expected properties should look like this:


<property>
  <name>zeppelin.notebook.s3.bucket</name>
  <value>bucket_name</value>
  <description>bucket name for notebook storage</description>
</property>
<property>
  <name>zeppelin.notebook.s3.user</name>
  <value>username</value>
  <description>user name for s3 folder structure</description>
</property>

Thanks,
Saksham


________________________________
From: czam01@gmail.com <cz...@gmail.com>
Sent: Friday, September 1, 2017 6:18:18 AM
To: users@zeppelin.apache.org
Subject: Zeppelin Notebooks does not stored on S3

I have followed the apache zeppelin instructions but it does not work

this zeppelin-env.sh file are in 3 different locations:
1- /etc/zeppelin/conf
2- /etc/zeppelin/conf.dist
3-/usr/lib/zeppelin/conf

and I put the following lines
export ZEPPELIN_NOTEBOOK_S3_BUCKET=zeppelinenv
export ZEPPELIN_NOTEBOOK_S3_USER=eavaria

this zeppelin-site.xml file are in 3 different locations:
1- /etc/zeppelin/conf
2- /etc/zeppelin/conf.dist
3-/usr/lib/zeppelin/conf

<!-- Amazon S3 notebook storage -->
<!-- Creates the following directory structure: s3://{bucket}/{username}/{notebook-id}/note.json -->

<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>eavaria</value>
  <description>user name for s3 folder structure</description>
</property>

<property>
  <name>zeppelin.notebook.s3.eavaria</name>
  <value>zeppelinenv</value>
  <description>bucket name for notebook storage</description>
</property>
<!--
<property>
  <name>zeppelin.notebook.s3.endpoint</name>
  <value>s3.amazonaws.com</value>
  <description>endpoint for s3 bucket</description>
</property>
-->
<property>
  <name>zeppelin.notebook.storage</name>
  <value>org.apache.zeppelin.notebook.repo.S3NotebookRepo</value>
  <description>notebook persistence layer implementation</description>
</property>

It is not working, anyone could help me with this issue?

When i create a notebook it stores local /var/lib/notebooks but not in the S3 Bucket