[ 
https://issues.apache.org/jira/browse/SPARK-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Chammas updated SPARK-5749:
------------------------------------
    Issue Type: Bug  (was: Sub-task)
        Parent:     (was: SPARK-5747)

> Fix Bash word splitting bugs in compute-classpath.sh
> ----------------------------------------------------
>
>                 Key: SPARK-5749
>                 URL: https://issues.apache.org/jira/browse/SPARK-5749
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.2.1
>            Reporter: Nicholas Chammas
>
> For example [this 
> line|https://github.com/apache/spark/blob/fa6bdc6e819f9338248b952ec578bcd791ddbf6d/bin/compute-classpath.sh#L79]
>  has a word splitting bug.
> {code}
> for f in ${assembly_folder}/spark-assembly*hadoop*.jar; do
>   if [[ ! -e "$f" ]]; then
>     echo "Failed to find Spark assembly in $assembly_folder" 1>&2
>     echo "You need to build Spark before running this program." 1>&2
>     exit 1
>   fi
>   ASSEMBLY_JAR="$f"
>   num_jars=$((num_jars+1))
> done
> {code}
> If {{assembly_folder}} contains a space, this block of code will fail.



--
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