Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Zeppelin "Apache Spark in 5 Minutes" Download JSON data file --FAILS

Highlighted

Zeppelin "Apache Spark in 5 Minutes" Download JSON data file --FAILS

New Contributor

%sh # Remove old json file if already exists in local /tmp directory
if [ -e /tmp/svepisodes.json ]
then
rm -f /tmp/svepisodes.json
fi wget https://raw.githubusercontent.com/hortonworks/data-tutorials/master/tutorials/hdp/hands-on-tour-of-a... -O /tmp/svepisodes.json -O /tmp/svepisodes.json

++++++++++++ OUTPUT ++++++++++++++++++++

org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named sh or it is not binded to this note

org.apache.zeppelin.interpreter.InterpreterNotFoundException: Either no interpreter named sh or it is not binded to this note
at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:101)
at org.apache.zeppelin.notebook.Paragraph.getBindedInterpreter(Paragraph.java:242)
at org.apache.zeppelin.notebook.Paragraph.execute(Paragraph.java:350)
at org.apache.zeppelin.notebook.Note.run(Note.java:683)
at org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph(NotebookServer.java:1867)
at org.apache.zeppelin.socket.NotebookServer.runAllParagraphs(NotebookServer.java:1731)
at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:267)
at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:189)
at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:66)
at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:158)
at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:162)
at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:476)
at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220)
at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:245)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:560)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:391)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
at java.lang.Thread.run(Thread.java:748)

2 REPLIES 2

Re: Zeppelin "Apache Spark in 5 Minutes" Download JSON data file --FAILS

Community Manager

The very first line of the error message you posted above indicates that the problem is either:

  1. zeppelin can't find the 'sh' interpreter
  2. the 'sh' interpreter is not bound to the current note.

Therefore the first thing you should try is to bind or rebind the 'sh' interpreter to the current note, which you can do by following the procedure described in the Creating an interpreter section of the Getting Started with Apache Zeppelin tutorial.

Re: Zeppelin "Apache Spark in 5 Minutes" Download JSON data file --FAILS

New Contributor

Thanks for helping me resolve this.