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.

[Spark + R interpreter ] Zeppelin: Error while executing spark notebook or R notebook

[Spark + R interpreter ] Zeppelin: Error while executing spark notebook or R notebook

Contributor

Hi,

This is the Spark_Home directory from Ambari in my cluster - /usr/hdp/current/spark2-client and I configured it as the same in Zeppelin Interpreter

In the server wherein Zeppelin is installed - I find contents of the directory as below:

[root ~]# ls /usr/hdp/current/spark2-client/

aux

[root ~]#

There are no folders other than aux.

When I run simple query in zeppelin notebook, I see the error

org.apache.zeppelin.interpreter.InterpreterException: /usr/hdp/current/zeppelin-server/bin/interpreter.sh: line 217: /usr/hdp/current/spark2-client/bin/spark-submit: No such file or directory

How to get rid of this issue?

Do I need to install spark2-client on the server?

Please help.

@FelixAlbani can you help me on this?

1 REPLY 1
Highlighted

Re: [Spark + R interpreter ] Zeppelin: Error while executing spark notebook or R notebook

@Sriram Yes, seems spark2-client is not installed on the zeppelin server. Please go ahead and from ambari navigate to the host and install/reinstall the spark2-client.

HTH

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