Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22803

Connection Refused Error is happening sometime.

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.2.1
    • None
    • PySpark
    • None
    • windows,pycharm,python

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Hasanmalai Annamalai Venugopal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: