liuxunorg commented on a change in pull request #3413: [ZEPPELIN-3065]
Personalized mode does not allow multiple users to run the same paragraph at
the same time
URL: https://github.com/apache/zeppelin/pull/3413#discussion_r314949745
##########
File path:
zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java
##########
@@ -312,7 +312,7 @@ public boolean runParagraph(String noteId,
p.setConfig(config);
if (note.isPersonalizedMode()) {
- p = note.getParagraph(paragraphId);
+ p = p.getUserParagraph(context.getAutheInfo().getUser());
Review comment:
I looked at the logic of the getUserParagraph code.
By copying a Paragraph, Can support multiple people working on the same
Paragraph at the same time.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services