Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.7.1, 0.7.2, 0.8.0
-
None
-
None
Description
When we setup a new user or upgrade a note, interpreter.json file is copied from a template file. So "interpreterBindings" is empty or irrelevant to notes that an upgraded user has. It causes following exception:
org.apache.zeppelin.interpreter.InterpreterException: paragraph_1491878547585_-790720711's Interpreter null not found at org.apache.zeppelin.notebook.Note.run(Note.java:625) at org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph(NotebookServer.java:1781) at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:1741) at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:288)
It would be better to show error message that the note is not bound to any notes, and not let execute any paragraphs until this is fixed.
If a paragraph has an explicit interpreter type defined, then this error is slightly different but this does not change the matter
paragraph_1491878547585_-790720711's Interpreter pyspark not found org.apache.zeppelin.interpreter.InterpreterException: paragraph_1491878547585_-790720711's Interpreter pyspark not found at org.apache.zeppelin.notebook.Note.run(Note.java:625) at org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph(NotebookServer.java:1781) at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:1741) at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:288) 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:745)