[ https://issues.apache.org/jira/browse/SPARK-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129792#comment-14129792 ]
Sean Owen commented on SPARK-3482: ---------------------------------- Duplicate of https://issues.apache.org/jira/browse/SPARK-2960 or vice versa, I think? > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org