[
https://issues.apache.org/jira/browse/SPARK-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-3482.
------------------------------
Resolution: Duplicate
> Allow symlinking to scripts (spark-shell, spark-submit, ...)
> ------------------------------------------------------------
>
> Key: SPARK-3482
> URL: https://issues.apache.org/jira/browse/SPARK-3482
> Project: Spark
> Issue Type: Bug
> Components: Spark Shell
> Affects Versions: 1.0.2
> Environment: Unix system (FreeBSD 10.1 with bash)
> Reporter: Radim Kolar
> Priority: Trivial
>
> if you have install scenario like spark installed in /usr/local/share/spark
> and want to link its scripts from /usr/local/bin like:
> /usr/local/bin/spark-shell -> /usr/local/share/spark/bin/spark-shell then
> scripts fails to locate spark install directory correctly. FWDIR variable
> needs to be changed to:
> {noformat}
> ## Global script variables
> FWDIR="$(cd $(dirname $(readlink -f $0))/..; pwd)"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]