Skruff
Skruff

Reputation: 75

Pyspark Zeppelin - Fail to open PythonInterpreter

I am new to Zeppelin and Pyspark.

I have tried in vain to get Zeppelin to run with Pyspark.

My setup:

Pi01 as Master Pi02-04 as Worker. Spark installed on all Pi.

Hadoop & Yarn are running without any problems. Pyspark shell runs and I can execute commands. enter image description here

But same command in zeppelin fails..

enter image description here

java.io.IOException: Cannot run program "python": error=2, No such file or directory

However, with Zeppelin %Pyspark as well as %python does not work. I have now searched for many hours but have not found a solution (switching from Debian to Ubuntu and back again).

enter image description here

I also tried to access the Spark Master from my Win10 PC with Jupyter Notebook but I don't know how to do that and finally gave up.

Any Ideas?

I appreciate your help.

Upvotes: 0

Views: 1350

Answers (2)

nghiadt22
nghiadt22

Reputation: 1

Try adding PYTHON installation path to Zeppelin config

Upvotes: 0

Skruff
Skruff

Reputation: 75

In the end, I got it working. I used Spark version 2.4.7 and now it works. I don't know if this is a coincidence or if it was really necessary.

Upvotes: 0

Related Questions