Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25311

`SPARK_LOCAL_HOSTNAME` unsupport IPV6 when do host checking

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.2.1, 2.2.2
    • Fix Version/s: None
    • Component/s: Spark Core
    • Labels:

      Description

      IPV4 can pass the follwing check

        def checkHost(host: String, message: String = "") {
          assert(host.indexOf(':') == -1, message)
        }
      

      But IPV6 check failed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ouyangxc.zte Xiaochen Ouyang
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: