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