Re: Zeppelin directory structure for S3 notebook storage

2017-07-22 Thread Richard Xin
I don't think it's correct to get user from config:  https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/repo/S3NotebookRepo.java#L92 [ZEPPELIN-2805] S3NotebookRepo does not use user's pricinpal - ASF JIRA | | | | [ZEPPELIN-2805] S3Notebo

Re: Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
correction:I tried both "user" and  "username", and the S3 directory structure is actually like this: {bucket}/username/notebook/{notebook-id}/note.json instead of advertised "{bucket}/{username}/{notebook-id}/note.json" Please advise.Thanks On Friday, July 21, 2017, 3:02:15 PM PDT, Richard Xin

Re: Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
oops, accidentally clicked "send" ... 1. enabled default security by renaming shiro.ini (default user admin, user1,2 ...)2. enabled S3 storage, and my config in zeppelin-site.xml   zeppelin.notebook.s3.user  username  user name for s3 folder structure I noticed that my s3 has following directory

Zeppelin directory structure for S3 notebook storage

2017-07-21 Thread Richard Xin
1. enabled default security by renaming shiro.ini (default user admin, user1,2 ...)2. enabled S3 storage, and my config in    zeppelin.notebook.s3.user  username  user name for s3 folder structure