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

Duplicate results in notebooks due to WS interruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • None
    • None

    Description

      After upgrading to Zeppelin 0.8.0 with the same tech stack behind it, I start noticing after a while working with any notebooks (small or large), the notebook becomes unresponsive for few seconds where I can't scroll then it produces duplicate results for all the executed paragraphs.

      Not sure if the page becomes unresponsive due to duplicating all the results from all the paragraphs or it is for another reason, but I am sure it should be related to copying all those results twice in the page.

      NOTE: If I refresh the page, there is no duplicate and there is only one result for each paragraph. This only happens while the notebook is open.

      How to reproduce this problem: I have one idea, to reproduce this you can simply disconnect from the internet (if the zeppelin is hosted remotely). WebSocket keeps trying to connect, re-connect the internet and you see immediately the results being duplicated. But WS can be interrupted while working with Zeppelin notebooks as well so WS might be the reason. (I haven't seen this problem with 0.7.3)

      Update: Maybe WS re-connect and try is not well managed and there can be two WS sessions open at the time of reconnect and the new one retrieves the results regardless.

       

      Spec: 

      • Zeppelin 0.8.0
      • Ubuntu 16.04
      • Nginx as a reverse proxy

      The only thing that could affect this beside Zeppelin might be the Nginx in the middle and how it tries to reconnect the WS, but this is the same NGnix with the same config that I used for Zepplin 0.7.3.

      Attachments

        1. Screenshot 2018-11-02 17.51.00.png
          65 kB
          Maziyar PANAHI
        2. Screenshot 2018-11-02 17.51.10.png
          33 kB
          Maziyar PANAHI

        Issue Links

          Activity

            People

              moon Lee Moon Soo
              maziyar Maziyar PANAHI
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: