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

Make Spark scripts working with the spaces in paths on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • Windows
    • None

    Description

      Currently, Spark on Windows does not work with the error messages below:

      >>> SparkSession.builder.getOrCreate()
      Presence of build for multiple Scala versions detected (C:\...\assembly\target\scala-2.13 and C:\...\assembly\target\scala-2.12).
      Remove one of them or, set SPARK_SCALA_VERSION=2.13 in spark-env.cmd.
      Visit https://spark.apache.org/docs/latest/configuration.html#environment-variables for more details about setting environment variables in spark-env.cmd.
      Either clean one of them or, set SPARK_SCALA_VERSION in spark-env.cmd.
      

      We should handle whitespaces in the cmd scripts at Spark.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: