You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/05/18 22:39:38 UTC
[jira] [Resolved] (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:all-tabpanel ]
Patrick Wendell resolved SPARK-1869.
------------------------------------
Resolution: Fixed
Fixed by: https://github.com/apache/spark/pull/812
> `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)