You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandeep Singh (JIRA)" <ji...@apache.org> on 2014/05/18 22:25:37 UTC

[jira] [Commented] (SPARK-1869) `spark-shell --help` fails if called from outside spark home

    [ https://issues.apache.org/jira/browse/SPARK-1869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001190#comment-14001190 ] 

Sandeep Singh commented on SPARK-1869:
--------------------------------------

https://github.com/apache/spark/pull/817

> `spark-shell --help` fails if called from outside spark home
> ------------------------------------------------------------
>
>                 Key: SPARK-1869
>                 URL: https://issues.apache.org/jira/browse/SPARK-1869
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Patrick Wendell
>            Priority: Critical
>             Fix For: 1.1.0, 1.0.1
>
>
> When a user runs the shell with `--help` from outside of the Spark directory, it doesn't call spark-submit in the direct location:
> {code}
> $ /home/patrick/Documents/spark/bin/spark-shell --help
> Usage: ./bin/spark-shell [options]
> /home/patrick/Documents/spark/bin/spark-shell: line 33: ./bin/spark-submit: No such file or directory
> {code}
> The fix is simple, we should just use the full path as in other places where we invoke the shell.



--
This message was sent by Atlassian JIRA
(v6.2#6252)