You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/09/11 10:50:33 UTC
[jira] [Commented] (SPARK-3482) Allow symlinking to scripts
(spark-shell, spark-submit, ...)
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org