Zeppelin Notebooks does not stored on S3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Zeppelin Notebooks does not stored on S3

Carlos Andres Zambrano Barrera
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
Reply | Threaded
Open this post in threaded view
|

Re: Zeppelin Notebooks does not stored on S3

Saksham Srivastava

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: [hidden email] <[hidden email]>
Sent: Friday, September 1, 2017 6:18:18 AM
To: [hidden email]
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