[
https://issues.apache.org/jira/browse/SPARK-22803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-22803.
-------------------------------
Resolution: Invalid
Please don't put questions on JIRA. Use the mailing list.
> Connection Refused Error is happening sometime.
> -----------------------------------------------
>
> Key: SPARK-22803
> URL: https://issues.apache.org/jira/browse/SPARK-22803
> Project: Spark
> Issue Type: Question
> Components: PySpark
> Affects Versions: 2.2.1
> Environment: windows,pycharm,python
> Reporter: Annamalai Venugopal
>
> I am often facing with the connection refused error which says
> ERROR:py4j.java_gateway:An error occurred while trying to connect to the Java
> server (127.0.0.1:52865)
> Traceback (most recent call last):
> File
> "C:\Users\avenugopal\AppData\Local\Programs\Python\Python36\lib\site-packages\py4j\java_gateway.py",
> line 827, in _get_connection
> connection = self.deque.pop()
> IndexError: pop from an empty deque
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
> File
> "C:\Users\avenugopal\AppData\Local\Programs\Python\Python36\lib\site-packages\py4j\java_gateway.py",
> line 963, in start
> self.socket.connect((self.address, self.port))
> ConnectionRefusedError: [WinError 10061] No connection could be made because
> the target machine actively refused it
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]