Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No interpreters available in Zeppelin

I have just installed the following on my Mac (Yosemite 10.10.3):

  • oracle java 1.8 update 45
  • scala 2.11.6
  • spark 1.4 (precompiled release: http://d3kbcqa49mib13.cloudfront.net/spark-1.4.0-bin-hadoop2.6.tgz)
  • zeppelin from source (https://github.com/apache/incubator-zeppelin) no additional config, just copied created zeppelin-env.sh and zeppelin-site.xml from templates. no edits.

I Followed the installation guidelines: https://zeppelin.incubator.apache.org/docs/install/install.html

I have build zeppelin without problems:

mvn clean install -DskipTests 

Started it

./bin/zeppelin-daemon.sh start 

Opened http://localhost:8080 and opened the Tutorial Notebook. Here is what happens when I refresh the snippets:

md interpretersh interpreter, note that the interpreter name shows as 'null'sql interpreter

Here is the exception for the md interpreter in the webapp logs:

ERROR [2015-06-19 11:44:37,410] ({WebSocketWorker-8} NotebookServer.java[runParagraph]:534) - Exception from run org.apache.zeppelin.interpreter.InterpreterException: **Interpreter md not found**     at org.apache.zeppelin.notebook.Note.run(Note.java:269)     at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:531)     at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:119)     at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:469)     at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:368)     at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:157)     at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:657) 

Restarting the interpreter doesn't seem to cause errors.

like image 954
Samuel Kerrien Avatar asked Jun 19 '15 10:06

Samuel Kerrien


People also ask

How do I add an interpreter to Zeppelin?

Copy the download files for Apache Python interpreter from the downloaded install package to the notebook node directory /usr/hdp/current/zeppelin-server/interpreter/python and run the command:. Note: The group and user of the files must be zeppelin user. In the Ambari user interface, click Zeppelin Notebook > Start.

What is Zeppelin interpreter?

A Zeppelin interpreter is a plug-in which enables Zeppelin users to use a specific language/data-processing-backend. For example, to use Scala code in Zeppelin, you would use the %spark interpreter.

Can you use Python in Zeppelin?

Zeppelin supports to run interpreter in yarn cluster which means the python interpreter can run in a yarn container. This can achieve better multi-tenant for python interpreter especially when you already have a hadoop yarn cluster.


1 Answers

Ok I have just found the answer, at the top of the tutorial there is a snippet about interpreter binding, click the save button and all start to work normally.

like image 93
Samuel Kerrien Avatar answered Oct 05 '22 01:10

Samuel Kerrien