GitHub user obermeier opened a pull request:

    https://github.com/apache/spark/pull/19408

    [SPARK-22180][CORE] Allow IPv6

    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 `org.apache.spark.util.Utils.parseHostPort(hostPort:` 
`String)` takes the last colon to sepperate the port from host path. This 
conflicts with literal IPv6 addresses.
    
    I think we can take `hostPort` as literal IPv6 address if it contains tow 
ore more colons. If IPv6 addresses are enclosed in square brackets port 
definition is still possible.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/obermeier/spark issue/SPARK-22180

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19408.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19408
    
----
commit 3783f85b18540ed8746c078ad9c2f12d7167be9d
Author: Stefan Obermeier <m...@stefan-obermeier.de>
Date:   2017-10-01T14:28:58Z

    [SPARK-22180][CORE] Allow IPv6

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to