Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1492

Web Socket not updating notebook content correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.2, 0.8.0
    • None
    • None
    • Google Chrome 53.0.2785.116 m
      Zeppelin Version 0.6.1

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              frosner Frank Rosner
              aleksandar.buha Aleksandar Buha
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: