New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEPPELIN-4635]. Save note permission info into notebook-authorization.json #3668
Conversation
d4c9e1d
to
fc635dd
Compare
@Leemoonsoo You might want to know this change. |
Thanks @zjffdu LGTM |
Thanks @Leemoonsoo will merge if no more comments |
### What is this PR for? Fixed a regression in #3668. With this fix zeppelin can save the notebook in HDFS. ### What type of PR is it? Regression Fix ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-4718 ### How should this be tested? * **Travis-Link**: https://travis-ci.org/github/Reamer/zeppelin/builds/670126594 ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Philipp Dallig <philipp.dallig@gmail.com> Closes #3713 from Reamer/notebook_dir_hdfs and squashes the following commits: 0117609 [Philipp Dallig] Check for filesystem with a scheme
### What is this PR for? Fixed a regression in #3668. With this fix zeppelin can save the notebook in HDFS. ### What type of PR is it? Regression Fix ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-4718 ### How should this be tested? * **Travis-Link**: https://travis-ci.org/github/Reamer/zeppelin/builds/670126594 ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Philipp Dallig <philipp.dallig@gmail.com> Closes #3713 from Reamer/notebook_dir_hdfs and squashes the following commits: 0117609 [Philipp Dallig] Check for filesystem with a scheme (cherry picked from commit 6c10bb2) Signed-off-by: Jeff Zhang <zjffdu@apache.org>
Hi @zjffdu, |
@jolo-dev What version of zeppelin do you use ? It is a bug if the notebook-authorization.json is gone. |
@zjffdu We upgraded to zeppelin-preview2. |
I see, actually ConfigStorage has 2 implementation:
I think you can use FileSystemConfigStorage to resolve your issue. |
Well, we are not using hadoop. Is it possible to read this file from an S3 bucket? |
What is this PR for?
This PR is to revert the changes of ZEPPELIN-3985. Because it would cause the issue of ZEPPELIN-4612. In this PR I will make Zeppelin still save note permission info into
notebook-authorization.json
. But I also do some code refactoring, and we could store the permission info into other storage such as database in future. Because storing them into one file also has potential issue. such as scale issue, now each time we have to write all notes' permission info into file instead of in the note level.What type of PR is it?
[Bug Fix | Refactoring]
Todos
What is the Jira issue?
How should this be tested?
Screenshots (if appropriate)
Questions: