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

holdenk closed SPARK-8760.
--------------------------
    Resolution: Fixed

This is a "partially fixed" but I think fixed is a close enough description. We 
don't use readlink but we do check for the current SPARK_HOME before running 
and if the user has a custom SPARK_HOME then can just point it there since we 
no longer overwrite it in `spark-submit`.

> allow moving and symlinking binaries
> ------------------------------------
>
>                 Key: SPARK-8760
>                 URL: https://issues.apache.org/jira/browse/SPARK-8760
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, Spark Shell, Spark Submit, SparkR
>    Affects Versions: 1.4.0
>            Reporter: Philipp Angerer
>            Priority: Minor
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> you use the following line to determine {{$SPARK_HOME}} in all binaries
> {code:none}
> export SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
> {code}
> however users should be able to override this. also symlinks should be 
> followed:
> {code:none}
> if [[ -z "$SPARK_HOME" ]]; then
>       export SPARK_HOME="$(dirname "$(readlink -f "$0")")"
> fi
> {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