-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-143: Git as a versioned notebook storage #497
Conversation
\cc @Leemoonsoo @jongyoul @felixcheung @khalidhuseynov for a review |
CI fails with something, that looks not very relevant to the changes in this PR. Can not reproduce on my local env too.
|
This CI problem should be solved by #468, may need to rebase for that |
@@ -19,10 +19,27 @@ limitations under the License. | |||
--> | |||
### Notebook Storage | |||
|
|||
In Zeppelin there are two option for storage Notebook, by default the notebook is storage in the notebook folder in your local File System and the second option is S3. | |||
Zeppelin a pluggable notebook storage mechanism with multiple implementations. | |||
There are few Notebook storage options avaialble for a use, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to have multiple storage simultaneously? Could we clarify in this doc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... multiple storage enabled simultaneously...
looks good! thanks for working on this. looking forward to git push ;) |
Is there a document (or could one be added) that describes setting up the Git repo integration (git ssh or https path, connecting Zeppelin to a specific git repo, passwords, ssh keys, etc.)? |
Guys, thanks for reviews, appreciate that a lot! Will address each of them in next couple of days. |
@jeffsteinmetz I think this is committing to local only, no remote repo support yet |
@jeffsteinmetz @felixcheung well noted, this PR introduces automation to keep notebook dir inside the git repository in your local filesystem. Right now, this repository does not have any 'remotes' setup, and Zeppelin does not push it anywhere, so there are no Zeppelin configuration needed (except documented property change). It is possible and quite simple to sync this local repo manually by |
@khalidhuseynov thanks for looking into CI problem, that's a bummer!
It looks like it was merged 6 days ago, so current branch should be on top of it already, but just in case - I have synced with the latest master and it seems to pass! If that repeats - will file the jira issue with label 'flaky-test'. |
Have addressed all the reviews, please let me know if something is missing. In 5d7ffea |
New CI failure - cassandra interpreter tests (one more candidate for flaky-test label in JIRA)
|
re-triggering CI build |
CI passes now, ready to be merged. |
@bzz thanks for starting this feature! |
@bzz Tested and working really well. And the API looks fine. Could you also take care
|
@Leemoonsoo thank you for kind reminder! Will do it and ping back |
Thank all participants for kind reviews! @Leemoonsoo could you check 468a858 and let me know if you think that is enough? |
Thanks @bzz Looks good to me! |
Thank you! |
Thanks for the feature! Any news on automatic github integration? Or a guidline how to setup github sync? |
@p0wl I started remote git support here: https://github.com/herval/zeppelin/tree/remote-git-support - it's a WIP, if someone wants to take over (it would work w/ github or any other git repo) |
@herval were you able to finish it ? |
Haven't had the time to look into that further. TBH, I don't think storing notebooks as text files is a good strategy - not in the environment we use Zeppelin, anyway. We're likely moving towards some sort of centralized storage (maybe a KV storage), in order to be able to scale horizontally |
This is very basic implementation of the ZEPPELIN-143 at the backend.
It makes a local git repository our of your
/notebook
dir and commits a new revision for each save/update.It does not:
Feedback is very welcome!