You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2014/11/18 20:19:35 UTC
[jira] [Created] (SPARK-4475) PySpark failed to initialize if
localhost can not be resolved
Davies Liu created SPARK-4475:
---------------------------------
Summary: PySpark failed to initialize if localhost can not be resolved
Key: SPARK-4475
URL: https://issues.apache.org/jira/browse/SPARK-4475
Project: Spark
Issue Type: Bug
Components: PySpark
Affects Versions: 1.1.0, 1.0.2, 1.2.0
Reporter: Davies Liu
{code}
Traceback (most recent call last):
File "/home/hduser/Downloads/spark-1.1.0/python/pyspark/shell.py", line 44, in <module>
sc = SparkContext(appName="PySparkShell", pyFiles=add_files)
File "/home/hduser/Downloads/spark-1.1.0/python/pyspark/context.py", line 107, in __init__
conf)
File "/home/hduser/Downloads/spark-1.1.0/python/pyspark/context.py", line 159, in _do_init
self._accumulatorServer = accumulators._start_update_server()
File "/home/hduser/Downloads/spark-1.1.0/python/pyspark/accumulators.py", line 251, in _start_update_server
server = AccumulatorServer(("localhost", 0), _UpdateRequestHandler)
File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
self.server_bind()
File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -5] No address associated with hostname
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org