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 07:32:14 UTC
[jira] [Created] (SPARK-1869) `spark-shell --help` fails if called
from outside spark home
Patrick Wendell created SPARK-1869:
--------------------------------------
Summary: `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)