diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-04-24 23:59:16 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-24 23:59:16 -0700 |
commit | dc3b640a0ab3501b678b591be3e99fbcf3badbec (patch) | |
tree | 2865c2a3cef66f061d846f6a968725e83728271b /docs/spark-debugger.md | |
parent | 6e101f1183f92769779bc8ac14813c063bf1ff3f (diff) | |
download | spark-dc3b640a0ab3501b678b591be3e99fbcf3badbec.tar.gz spark-dc3b640a0ab3501b678b591be3e99fbcf3badbec.tar.bz2 spark-dc3b640a0ab3501b678b591be3e99fbcf3badbec.zip |
SPARK-1619 Launch spark-shell with spark-submit
This simplifies the shell a bunch and passes all arguments through to spark-submit.
There is a tiny incompatibility from 0.9.1 which is that you can't put `-c` _or_ `--cores`, only `--cores`. However, spark-submit will give a good error message in this case, I don't think many people used this, and it's a trivial change for users.
Author: Patrick Wendell <pwendell@gmail.com>
Closes #542 from pwendell/spark-shell and squashes the following commits:
9eb3e6f [Patrick Wendell] Updating Spark docs
b552459 [Patrick Wendell] Andrew's feedback
97720fa [Patrick Wendell] Review feedback
aa2900b [Patrick Wendell] SPARK-1619 Launch spark-shell with spark-submit
Diffstat (limited to 'docs/spark-debugger.md')
-rw-r--r-- | docs/spark-debugger.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/spark-debugger.md b/docs/spark-debugger.md index 891c2bfa89..35d06c51aa 100644 --- a/docs/spark-debugger.md +++ b/docs/spark-debugger.md @@ -39,7 +39,7 @@ where `path/to/event-log` is where you want the event log to go relative to `$SP ### Loading the event log into the debugger -1. Run a Spark shell with `MASTER=<i>host</i> ./bin/spark-shell`. +1. Run a Spark shell with `./bin/spark-shell --master <i>hist</i>`. 2. Use `EventLogReader` to load the event log as follows: {% highlight scala %} spark> val r = new spark.EventLogReader(sc, Some("path/to/event-log")) |