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

Reduce verbose InterpreterNotFound Exception for getEdtiorSetting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.1, 0.9.0
    • None
    • None

    Description

      Will get following verbose exception in zeppelin server log when I type `%spark` in paragraph

      ERROR [2018-07-11 13:27:15,074] ({qtp2006034581-19} NotebookServer.java[onMessage]:392) - Can't handle message: {"op":"EDITOR_SETTING","data":{"paragraphId":"20180706-161053_464988692","magic":"s"},"principal":"user1","ticket":"d15a90da-9a97-4980-be44-7c173b0390fe","roles":"[\"role1\",\"role2\",\"admin\"]"}
      java.io.IOException: Fail to get interpreter: s
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2462)
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:371)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:58)
      	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:745)
      Caused by: org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named s or it is not binded to this note
      	at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:101)
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2460)
      	... 17 more
      ERROR [2018-07-11 13:27:15,170] ({qtp2006034581-101} NotebookServer.java[onMessage]:392) - Can't handle message: {"op":"EDITOR_SETTING","data":{"paragraphId":"20180706-161053_464988692","magic":"sp"},"principal":"user1","ticket":"d15a90da-9a97-4980-be44-7c173b0390fe","roles":"[\"role1\",\"role2\",\"admin\"]"}
      java.io.IOException: Fail to get interpreter: sp
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2462)
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:371)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:58)
      	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:745)
      Caused by: org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named sp or it is not binded to this note
      	at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:101)
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2460)
      	... 17 more
      ERROR [2018-07-11 13:27:15,209] ({qtp2006034581-83} NotebookServer.java[onMessage]:392) - Can't handle message: {"op":"EDITOR_SETTING","data":{"paragraphId":"20180706-161053_464988692","magic":"spa"},"principal":"user1","ticket":"d15a90da-9a97-4980-be44-7c173b0390fe","roles":"[\"role1\",\"role2\",\"admin\"]"}
      java.io.IOException: Fail to get interpreter: spa
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2462)
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:371)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:58)
      	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:745)
      Caused by: org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named spa or it is not binded to this note
      	at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:101)
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2460)
      	... 17 more
      ERROR [2018-07-11 13:27:15,282] ({qtp2006034581-84} NotebookServer.java[onMessage]:392) - Can't handle message: {"op":"EDITOR_SETTING","data":{"paragraphId":"20180706-161053_464988692","magic":"spar"},"principal":"user1","ticket":"d15a90da-9a97-4980-be44-7c173b0390fe","roles":"[\"role1\",\"role2\",\"admin\"]"}
      java.io.IOException: Fail to get interpreter: spar
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2462)
      	at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:371)
      	at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:58)
      	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:745)
      Caused by: org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named spar or it is not binded to this note
      	at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:101)
      	at org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2460)
      	... 17 more
      

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: