You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/01/16 06:53:00 UTC

[jira] [Resolved] (SPARK-26047) Py4JNetworkError (on IPV6): An error occurred while trying to connect to the Java server (127.0.0.1

     [ https://issues.apache.org/jira/browse/SPARK-26047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-26047.
----------------------------------
    Resolution: Not A Problem

Yea, seems to be a problem in Py4J

> Py4JNetworkError (on IPV6): An error occurred while trying to connect to the Java server (127.0.0.1
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26047
>                 URL: https://issues.apache.org/jira/browse/SPARK-26047
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 2.4.0
>            Reporter: Abdul Mateen Mohammed
>            Priority: Major
>
> On IPV6, I got the following error when pyspark is invoked:
> h1. Py4JNetworkError: An error occurred while trying to connect to the Java server (127.0.0.1...)
> Where as on IPV4, it is working fine.
> I realized that the issue was due to default address specified as 127.0.0.1 in java_gateway.py under py4j-0.10.7-src.zip
> Resolution:
> I was able to fix it by replacing the entry 
> DEFAULT_ADDRESS = "127.0.0.1" with DEFAULT_ADDRESS = "::1"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org