spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishnaprasad <>
Subject py4j.protocol.Py4JNetworkError: Error while receiving Socket.timeout: timed out
Date Sat, 30 Sep 2017 10:22:28 GMT
Hi all,

I am developing an application that can run on Apache Spark (setup on single
node) and as part of the implementation, I am using PySpark version 2.2.0. 

Environment - OS is Ubuntu 14.04 and Python version is 3.4.

I am getting the following error as shown below. It will be helpful if
somebody can suggest a quick resolution / work around for this problem:

Traceback (most recent call last):
line 1028, in send_command
answer = smart_decode([:-1])
File "/usr/lib/python3.4/", line 374, in readinto return
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
line 883, in send_command
response = connection.send_command(command) File
line 1040, in send_command
"Error while receiving", e, proto.ERROR_ON_RECEIVE)
py4j.protocol.Py4JNetworkError: Error while receiving Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.4/multiprocessing/", line 254, in
File "/usr/lib/python3.4/multiprocessing/", line 93, in run
self._target(*self._args, **self._kwargs) File
line 1133, in _call_
answer, self.gateway_client, self.target_id, File
line 63, in deco
return f(*a, **kw)
line 327, in get_return_value
format(target_id, ".", name))
py4j.protocol.Py4JError: An error occurred while calling


Sent from:

To unsubscribe e-mail:

View raw message