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

SparkR interpreter not found in Zeeplin

SparkR interpreter not found in Zeeplin



I am unable to execute SparkR in Zeeplin and I see below issue.

Can someone help me.



Re: SparkR interpreter not found in Zeeplin


Here is the error:

org.apache.zeppelin.interpreter.InterpreterException: spark.r interpreter not found at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter( at at org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph( at org.apache.zeppelin.socket.NotebookServer.runParagraph( at org.apache.zeppelin.socket.NotebookServer.onMessage( at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText( at at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete( at at at at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame( at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame( at org.eclipse.jetty.websocket.common.Parser.notifyFrame( at org.eclipse.jetty.websocket.common.Parser.parse( at at at$ at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( at org.eclipse.jetty.util.thread.QueuedThreadPool$ at

ERROR Took 0 sec. Last updated by at June 19 2018, 5:37:17 PM. (outdated)

Re: SparkR interpreter not found in Zeeplin


Please make sure R is install following the steps described here:

You can read more about sparkr interpreter here:

As per "spark.r interpreter not found" make sure you have spark interpreter installed and configured. And that you are using correct %<name> - For example, in my environment I only use spark2 hence I need to use interpreter %spark2.r instead of %spark.r (which fails with same error as yours) - You can check by clicking on top right drop down menu next to your username > Interpreter > Filter by spark.

Finally review the Spark interpreter configuration settings for R



*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

Re: SparkR interpreter not found in Zeeplin


@Felix Albani

I believe there are some configuration issues too.

Here is the list of interpreters in the zeppelin - found from Ambari .


I dont see any interpreter related to R or sparkR here.

Do we need to add interpreter in zeppelin-site.xml and I see below are the interpreters to be added:


Do I need to add them?

I see R is installed properly on the server.

Re: SparkR interpreter not found in Zeeplin

@Sriram I have same values exactly as you listed above. Could you share a screenshot of drop down menu next to your username > Interpreter > Filter by spark? Also could you confirm if regular %spark works?

Re: SparkR interpreter not found in Zeeplin


Thanks for response. Will check and will get back to you.

Don't have an account?
Coming from Hortonworks? Activate your account here