You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2014/09/11 10:11:33 UTC
[jira] [Created] (SPARK-3482) Allow symlinking to scripts
(spark-shell, spark-submit, ...)
Radim Kolar created SPARK-3482:
----------------------------------
Summary: 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