Error 111 while trying to connect to Apache Spark

#1

When I am running the command pyspark on my prompt. I am getting the following error message.

error: [Errno 111] Connection refused
py4j.protocol.Py4JNetworkError: An error occurred while trying to connect to the Java server


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster

0 Likes

#2

Hi
I also got similar error before some hours, then i used command prompt and logged into pyspark and it worked fine.
But now once again , i tried to use pyspark through webconsole and cygwin. “An error occurred while trying to connect to the Java server” is not occuring anymore. Please try once again.

1 Like

#3

Hi Mani,

Thank you for your response.

My issue got resolved once I used --master and --conf commands.

0 Likes