Aleksandar Buha created ZEPPELIN-1492:
-----------------------------------------

             Summary: Web Socket not updating notebook content correctly
                 Key: ZEPPELIN-1492
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1492
             Project: Zeppelin
          Issue Type: Bug
         Environment: Google Chrome  53.0.2785.116 m
Zeppelin Version 0.6.1 
            Reporter: Aleksandar Buha


While accessing and editing the same notebook via two web-browser windows, 
synchronization is failing if I do two consecutive updates from one of the 
browser windows.

This issue can be reproduced with the following two browser-windows and a 
single notebook. 

Browser A:
%pyspark
print "Original Zeppelin Notebook"

In Browser B) edit the notebook and the above command to: 

%pyspark
print "Notebook is updated...."

If I run the notebook via browser A followed by browser B, everything is 
updated nicely. However, if I add the following line to the Notebook though 
Browser B:

print "....once again"

and run the notebook through Browser B again, the content in Browser A is not 
updated.

Inside WebSocket object (Browser A) I can see that "op":"NOTE" has attribute 
"text":"%pyspark\nprint \"Notebook is updated....\"\nprint \"....once again\"". 
Unfortunately, I do not see the second print statement displayed on screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to