Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: Spark Core
    • Labels:
      None
    • Environment:

      java 7 hotspot, spark 1.3.0, ipv6 only cluster

      Description

      In org.apache.spark.HttpServer uri is generated as

      "spark://" + localHostname + ":" + masterPort

      , where localHostname is

       org.apache.spark.util.Utils.localHostName() = customHostname.getOrElse(localIpAddressHostname)

      . 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.

        Attachments

          Activity

            People

            • Assignee:
              nyaapa Arsenii Krasikov
              Reporter:
              nyaapa Arsenii Krasikov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: