• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
11 views

Problem :

I am getting bellow error while trying to run pyspark.

java gateway process exited before sending the driver its port number

by (6.9k points)  

1 Answer

0 votes

Solution:

One possible reason behind getting this error is JAVA_HOME is not set or another reason may be the java is not installed.

I solved the issue by following bellow by running

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Further Readings:

https://github.com/jupyter/notebook/issues/743

by (20.3k points)  
...