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

Sean Owen resolved SPARK-10483.
-------------------------------
    Resolution: Duplicate

Please have a look at 
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark first. 
You should search JIRA first too, since there are a few issues about this. I 
also don't believe it is a bug.

> spark-submit can not support symbol link
> ----------------------------------------
>
>                 Key: SPARK-10483
>                 URL: https://issues.apache.org/jira/browse/SPARK-10483
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 1.3.1, 1.4.1
>         Environment: Red Hat Enterprise Linux Server release 6.4 (Santiago)
>            Reporter: xuqing
>
> Create a symbol link for spark-submit
> {quote}
> [root@xqwin03 bin]# ll spark-submit
> lrwxrwxrwx 1 root root 47 Sep  8 02:49 spark-submit -> 
> /opt/spark-1.3.1-bin-hadoop2.4/bin/spark-submit
> {quote}
> run spark-submit meets following errors:
> {color:red}
> /usr/bin/spark-submit: line 50: /usr/bin/spark-class: No such file or 
> directory
> {color}
> The reason is 
> SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
> can not handle symbol link
> change to 
> {color:red}
> SPARK_HOME="$(cd "`dirname $(readlink -nf "$0")`"/.. ; pwd -P)"
> {color}
> can fix this problem



--
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