Cannot Connect to pyspark

pyspark-shell

#1

I was trying to connect using ‘pyspark’, but getting the following error.

py4j.protocol.Py4JNetworkError: An error occurred while trying to connect to the Java server

Please help


#2

@Jieli,

What is the command that you are using to launch pyspark?