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

Auto-saving note hangs Zeppelin GUI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: GUI
    • Labels:
      None

      Description

      I'm getting stuck in a place where the Zeppelin GUI hangs and when I've reviewed the logs, I've noticed that the saving process is going into some kind of loop.

      The following is just an excerpt : 

      INFO [2018-08-29 11:37:22,793] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,803] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,813] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,823] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,834] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,844] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,854] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:22,865] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,855] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,865] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,876] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,887] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,897] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,908] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,918] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,928] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,938] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,948] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,959] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,972] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,983] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:29,994] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,004] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,014] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,025] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,036] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,045] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,057] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,067] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,077] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,088] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,098] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,108] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,119] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,129] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,139] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,150] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,161] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,170] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,181] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,192] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,202] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG
       INFO [2018-08-29 11:37:30,212] ({qtp2059904228-45} VFSNotebookRepo.java[save]:196) - Saving note:2DQPQTHWG

      I left it running like this for a while and I ended up with the following error :

      ERROR [2018-08-29 12:00:41,070] ({qtp2059904228-46} NotebookServer.java[broadcast]:488) - socket error
      java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 300001/300000 ms
      	at org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(SharedBlockingCallback.java:234)
      	at org.eclipse.jetty.websocket.common.BlockingWriteCallback$WriteBlocker.block(BlockingWriteCallback.java:83)
      	at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.blockingWrite(WebSocketRemoteEndpoint.java:107)
      	at org.eclipse.jetty.websocket.common.WebSocketRemoteEndpoint.sendString(WebSocketRemoteEndpoint.java:387)
      	at org.apache.zeppelin.socket.NotebookSocket.send(NotebookSocket.java:72)
      	at org.apache.zeppelin.socket.NotebookServer.broadcast(NotebookServer.java:486)
      	at org.apache.zeppelin.socket.NotebookServer.broadcastParagraph(NotebookServer.java:659)
      	at org.apache.zeppelin.socket.NotebookServer.updateParagraph(NotebookServer.java:1279)
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:258)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
      	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128)
      	at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
      	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65)
      	at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)
      	at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)
      	at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)
      	at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)
      	at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
      	at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
      	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
      	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
      	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 300001/300000 ms
      	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:161)
      	at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Elie A. Abou Haydar Elias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: