GitHub user Remilito reopened a pull request: https://github.com/apache/zeppelin/pull/2151
[ZEPPELIN-465] Be able to run paragraph and the following ones ### What is this PR for? Allow to run a paragraph **and** the ones following. This is useful for instance if you are generating a dataset in a paragraph and then have others subsequent paragraphs relying on this dataset. In a nutshell this PR contains: * UI: added a command in paragraph dropdown menu * REST: added an boolean option to runparagraph (sync & async) * updated rest doc * z-engine: added relevant function to Note * also refacto some duplicated code here and there. ### What type of PR is it? Feature ### Todos * [ ] - Once committers agree on the visual impact, update relevant documentation. ### What is the Jira issue? [ZEPPELIN-465](https://issues.apache.org/jira/browse/ZEPPELIN-465) ### How should this be tested? * UI: click on the "run and next ones" in the dropdown menu and verify subsequent paragraphs are also run, and not precedent ones. * REST: post request to /api/notebook/[job|run]/$noteId/$paragraphId?subsequent=true ### Screenshots (if appropriate) ![runsubsequent](https://cloud.githubusercontent.com/assets/8293897/24159054/65bc7acc-0e5e-11e7-8e41-0549cb8e3861.png) ![confirmationdialog](https://cloud.githubusercontent.com/assets/8293897/24159053/65aa31c8-0e5e-11e7-894f-2448e103b504.png) ![paragraphrunningpending](https://cloud.githubusercontent.com/assets/8293897/24159051/6598cfc8-0e5e-11e7-9f0e-c3340351ca76.png) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Yes You can merge this pull request into a Git repository by running: $ git pull https://github.com/Remilito/zeppelin ZEPPELIN-465 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2151.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 #2151 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---