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

Deadlock found when send 'GET_NOTE' OP message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.9.0
    • 0.11.0
    • zeppelin-server
    • None

    Description

      org.apache.zeppelin.socket.ConnectionManager#addNoteConnection   deadlock at 

      'synchronized (noteSocketMap)'

       

      Zeppelin occasionally fails to respond when click paragraph or refresh notebook page, but other functions such as login and configuration are normal. 
       
      This phenomenon has appeared for the third time, and you must to restart it to restore service.

       

      Test it by remote debug and jstack log found that deadlock occur when addNoteConnection method, see more jstack log in attachments please.

       

      Note: I used the remote debugging on this instance some time ago. I am not sure weather it caused by one of the debugging connections disconnect then cause incompletable request.

       

      Attachments

        1. image-2021-10-22-13-03-30-181.png
          1.41 MB
          vmaster.cc
        2. 86f9e98eb38a88a9d3b2e19acf3b3d659c797a94-jstack.log
          353 kB
          vmaster.cc
        3. image-2021-10-22-11-39-10-664.png
          501 kB
          vmaster.cc

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmaster vmaster.cc
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m