Repository: zeppelin Updated Branches: refs/heads/branch-0.8 b5db5961d -> f20abf7f1
ZEPPELIN-3768. run all paragraphs sequential mode when using ZeppelinContext api ### What is this PR for? This PR is to fix the bugs of ZeppelinContext.run api. It should run paragraph in blocking mode rather than non-blocking mode. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * https://jira.apache.org/jira/browse/ZEPPELIN-3768 ### How should this be tested? * CI pass ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jeff Zhang <zjf...@apache.org> Closes #3192 from zjffdu/ZEPPELIN-3768 and squashes the following commits: 27cdbe7d3 [Jeff Zhang] ZEPPELIN-3768. run all paragraphs sequentiall mode when using ZeppelinContext api Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/f20abf7f Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/f20abf7f Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/f20abf7f Branch: refs/heads/branch-0.8 Commit: f20abf7f135ac42664afb247b04024da23c96d81 Parents: b5db596 Author: Jeff Zhang <zjf...@apache.org> Authored: Thu Sep 27 15:46:54 2018 +0800 Committer: Jeff Zhang <zjf...@apache.org> Committed: Fri Sep 28 12:57:59 2018 +0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/zeppelin/socket/NotebookServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/f20abf7f/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java ---------------------------------------------------------------------- diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java b/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java index d81687f..948b367 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java @@ -2170,7 +2170,7 @@ public class NotebookServer extends WebSocketServlet AuthenticationInfo subject = new AuthenticationInfo(SecurityUtils.getPrincipal()); paragraph.setAuthenticationInfo(subject); - noteIns.run(paragraphId); + noteIns.run(paragraphId, true); } catch (Exception e) { throw e;