spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-22180) Allow IPv6 address in org.apache.spark.util.Utils.parseHostPort
Date Sun, 01 Oct 2017 19:34:03 GMT

    [ https://issues.apache.org/jira/browse/SPARK-22180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187508#comment-16187508
] 

Sean Owen commented on SPARK-22180:
-----------------------------------

To be clear I don't think this make IPv6 fully work for Spark, but, may let some more things
happen to work

> Allow IPv6 address in org.apache.spark.util.Utils.parseHostPort
> ---------------------------------------------------------------
>
>                 Key: SPARK-22180
>                 URL: https://issues.apache.org/jira/browse/SPARK-22180
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.2.0
>            Reporter: Stefan Obermeier
>            Priority: Minor
>
> External applications like Apache Cassandra are able to deal with IPv6 addresses. Libraries
like spark-cassandra-connector combine Apache Cassandra with Apache Spark.
> This combination is very useful  IMHO. 
> One problem is that  {code:java} org.apache.spark.util.Utils.parseHostPort(hostPort:
String) {code} takes the last colon to sepperate the port from host path. This conflicts with
literal IPv6 addresses.
> I think we can take {code}hostPort{code} as literal IPv6 address if it contains tow ore
more colons. If IPv6 addresses are enclosed in square brackets port definition is still possible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message