Thank you. Kevin, Jonathan and everyone!

I'm Sorry. It was my mis-configuration about AWS IAM Policy.
My IAM user couldn't operation as ListObjects.
Therefore, I couldn't operation as restore.

Thank you!

Shuya Tsukamoto

2016-08-16 17:10 GMT+09:00 Jonathan Gough <jgo...@frontier.co.uk>:

> Is it supposed to be ZEPPELIN_NOTEBOOK_USER instead of
> ZEPPELIN_NOTEBOOK_S3_USER?
>
>
>
> That’s what I have in my config:
>
>
>
> [
>
>   {
>
>     "configurations": [
>
>       {
>
>         "classification": "export",
>
>         "properties": {
>
>           "ZEPPELIN_NOTEBOOK_S3_BUCKET": "mybucket",
>
>           "ZEPPELIN_NOTEBOOK_STORAGE": "org.apache.zeppelin.notebook.
> repo.S3NotebookRepo",
>
>           "ZEPPELIN_NOTEBOOK_USER": "user"
>
>         }
>
>       }
>
>     ],
>
>     "classification": "zeppelin-env",
>
>     "properties": {
>
>
>
>     }
>
> ]
>
>
>
> Jonathan
>
>
>
> *From:* Shuya Tsukamoto [mailto:shuya.tsukam...@gmail.com]
> *Sent:* 16 August 2016 08:08
> *To:* users@zeppelin.apache.org
> *Subject:* How to restore the notebook from S3?
>
>
>
> Hi!
>
>
>
> I am using zeppelin 0.5.6 with Amazon EMR (emr-4.7.2).
>
>
>
> I was tried section "Notebook Storage in S3".
>
> I use the configuration such as the following because my case is EMR.
>
>
>
> https://blogs.aws.amazon.com/bigdata/post/Tx3K805CZ8WFBRP/
> Analyze-Realtime-Data-from-Amazon-Kinesis-Streams-Using-
> Zeppelin-and-Spark-Strea
>
>
>
> ```
>
> [
>
>    {
>
>       "Classification": "zeppelin-env",
>
>       "Properties":{
>
>       },
>
>       "Configurations":[
>
>          {
>
>             "Classification": "export",
>
>             "Properties":{
>
>                "AWS_ACCESS_KEY_ID": "mykeyid",
>
>                "AWS_SECRET_ACCESS_KEY": "myaccesskey",
>
>                "ZEPPELIN_NOTEBOOK_S3_USER": "hadoop",
>
>                "ZEPPELIN_NOTEBOOK_S3_BUCKET": "mybucket",
>
>                "ZEPPELIN_NOTEBOOK_STORAGE": "org.apache.zeppelin.notebook.
> repo.S3NotebookRepo"
>
>             },
>
>             "Configurations": []
>
>          }
>
>       ]
>
>    }
>
> ]
>
> ```
>
>
>
>
>
> I was able to save the notebook to S3. But I couldn't restore the notebook
> from S3.
>
> I want to restore the notebook automatically from S3 when I re-create the
> EMR cluster.
>
>
>
> Could you please help me?
>
> Thank you.
>
>
>
> Shuya Tsukamoto
>

Reply via email to