You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by SleepyThread <gi...@git.apache.org> on 2018/02/25 23:07:17 UTC
[GitHub] zeppelin pull request #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
GitHub user SleepyThread opened a pull request:
https://github.com/apache/zeppelin/pull/2817
[ZEPPELIN-3264] Notebook Snapshot feature.
### What is this PR for?
Currently, a user can share the notebook with other users. There is a usage pattern where data analyst creates notebook report and then share with other stakeholders. Meanwhile, they would like to update/change the report and re-publish the results.
We need a shareable url like,
/notebook/{**Notebook ID**}/view/{**Snapshot Name**}
which can be shared to other users and can be updated with a logical sharable report.
### What type of PR is it?
[ Feature | Documentation]
### Todos
* [ ] - CSS and assets changes.
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3264
### How should this be tested?
* Create git based Notebook.
* Create 1st commit.
* Add a snapshot ID.
* View the snapshot.
### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update?
- No
* Is there breaking changes for older versions?
- No.
* Does this needs documentation?
- Yes. Already updated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SleepyThread/zeppelin ZEPPELIN-3264_snapshot
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2817.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2817
----
commit beac8dd8ec3877ace015aff4ffad988993cd230f
Author: Akash <ak...@...>
Date: 2018-02-24T22:10:48Z
[ZEPPELIN-3264] Notebook Snapshot feature.
----
---
[GitHub] zeppelin pull request #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by SleepyThread <gi...@git.apache.org>.
Github user SleepyThread closed the pull request at:
https://github.com/apache/zeppelin/pull/2817
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by Tagar <gi...@git.apache.org>.
Github user Tagar commented on the issue:
https://github.com/apache/zeppelin/pull/2817
@SleepyThread - great feature!
Building on @felixcheung's comment, it would be good if Snapshot feature would use org.apache.zeppelin.notebook.repo.GitNotebookRepo to store a snapshot/revision, so then you could compare revisions etc.
ps. Looks like commits should be slashed? It shows unrelated commits in this PR.
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by SleepyThread <gi...@git.apache.org>.
Github user SleepyThread commented on the issue:
https://github.com/apache/zeppelin/pull/2817
I have created a [clean pull request](https://github.com/apache/zeppelin/pull/2852). Closing this pull request.
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by SleepyThread <gi...@git.apache.org>.
Github user SleepyThread commented on the issue:
https://github.com/apache/zeppelin/pull/2817
@felixcheung this feature just adds a mapping of Snapshot ID to revision id in storage like git. This helps in sharing a static URL by user /notebook/**{Notebook ID}**/view/**{Snapshot Name}** which can be mapped to any revision id in the background.
This will give the flexibility to have a static report to stakeholders while updates on Notebook can be done in parallel.
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by mebelousov <gi...@git.apache.org>.
Github user mebelousov commented on the issue:
https://github.com/apache/zeppelin/pull/2817
@SleepyThread thank you! This is a nice feature.
If the PR will be approved it would be great to have next functionality:
- limit the number of snapshots and/or life time of snapshot
- create snapshot for each cron run
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by SleepyThread <gi...@git.apache.org>.
Github user SleepyThread commented on the issue:
https://github.com/apache/zeppelin/pull/2817
@Tagar - It is using the revision feature from org.apache.zeppelin.notebook.repo.GitNotebookRepo
in nutshell, a snapshot is like a CNAME to the revision. People can share the CNAME to the external audience and owner can change to snapshot name to any revision they like.
@Leemoonsoo By mistake, I have rebased some commit from master to make the build pass. I will close this pull request and open a clean one.
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by felixcheung <gi...@git.apache.org>.
Github user felixcheung commented on the issue:
https://github.com/apache/zeppelin/pull/2817
hmm, interesting. how is this different or work with notebook revision on storage like git?
---
[GitHub] zeppelin issue #2817: [ZEPPELIN-3264] Notebook Snapshot feature.
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2817
Interesting feature, thanks @SleepyThread for the contribution.
---