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

Spaces in the build dir causes failures in the build/mvn script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • Build
    • None

    Description

      If you are running make-distribution in a path that contains a space in it the build/mvn script will fail:

      mkdir /tmp/test\ spaces
      cd /tmp/test\ spaces
      git clone https://github.com/apache/spark.git
      cd spark
      # Remove all mvn references in PATH so the script will download mvn to the local dir
      ./build/mvn -DskipTests clean package

      You will get the following errors:

      Using `mvn` from path: /tmp/test spaces/spark/build/apache-maven-3.3.9/bin/mvn
      ./build/mvn: line 157: /tmp/test: No such file or directory
      

      Attachments

        Activity

          People

            tleftwich Trystan Leftwich
            tleftwich Trystan Leftwich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: