Trystan Leftwich created SPARK-11052:
----------------------------------------

             Summary: Spaces in the build dir causes failures in the build/mvn 
script
                 Key: SPARK-11052
                 URL: https://issues.apache.org/jira/browse/SPARK-11052
             Project: Spark
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.5.1, 1.5.0
            Reporter: Trystan Leftwich


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

{code}
mkdir /tmp/test\ spaces
cd /tmp/test\ spaces
git clone https://github.com/apache/spark.git
cd spark
./make-distribution.sh --name spark-1.5-test4 --tgz -Pyarn -Phive-thriftserver 
-Phive
{code}

You will get the following errors
{code}
/tmp/test spaces/spark/build/mvn: line 107: cd: /../lib: No such file or 
directory
usage: dirname path
/tmp/test spaces/spark/build/mvn: line 108: cd: /../lib: No such file or 
directory
/tmp/test spaces/spark/build/mvn: line 138: /tmp/test: No such file or directory
/tmp/test spaces/spark/build/mvn: line 140: /tmp/test: No such file or directory
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to