[jira] [Assigned] (SPARK-6440) ipv6 URI for HttpServer

2015-03-27 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-6440:
---

Assignee: (was: Apache Spark)

> ipv6 URI for HttpServer
> ---
>
> Key: SPARK-6440
> URL: https://issues.apache.org/jira/browse/SPARK-6440
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 1.3.0
> Environment: java 7 hotspot, spark 1.3.0, ipv6 only cluster
>Reporter: Arsenii Krasikov
>Priority: Minor
>
> In {{org.apache.spark.HttpServer}} uri is generated as {code:java}"spark://" 
> + localHostname + ":" + masterPort{code}, where {{localHostname}} is 
> {code:java} org.apache.spark.util.Utils.localHostName() = 
> customHostname.getOrElse(localIpAddressHostname){code}. If the host has an 
> ipv6 address then it would be interpolated into invalid URI:  
> {{spark://fe80:0:0:0:200:f8ff:fe21:67cf:42}} instead of 
> {{spark://[fe80:0:0:0:200:f8ff:fe21:67cf]:42}}.
> The solution is to separate uri and hostname entities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Assigned] (SPARK-6440) ipv6 URI for HttpServer

2015-03-27 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-6440:
---

Assignee: Apache Spark

> ipv6 URI for HttpServer
> ---
>
> Key: SPARK-6440
> URL: https://issues.apache.org/jira/browse/SPARK-6440
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 1.3.0
> Environment: java 7 hotspot, spark 1.3.0, ipv6 only cluster
>Reporter: Arsenii Krasikov
>Assignee: Apache Spark
>Priority: Minor
>
> In {{org.apache.spark.HttpServer}} uri is generated as {code:java}"spark://" 
> + localHostname + ":" + masterPort{code}, where {{localHostname}} is 
> {code:java} org.apache.spark.util.Utils.localHostName() = 
> customHostname.getOrElse(localIpAddressHostname){code}. If the host has an 
> ipv6 address then it would be interpolated into invalid URI:  
> {{spark://fe80:0:0:0:200:f8ff:fe21:67cf:42}} instead of 
> {{spark://[fe80:0:0:0:200:f8ff:fe21:67cf]:42}}.
> The solution is to separate uri and hostname entities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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