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:30 -0700 |
commit | 8ba7f40b9b2367d3234ad5b7d2e760d2f65cb9ba (patch) | |
tree | 43812bcf49ed8a785ca6512cfbb49afb29715079 /make-distribution.sh | |
parent | 7493ca947a1198ffe0824766d7d51f9e44795c15 (diff) | |
download | spark-8ba7f40b9b2367d3234ad5b7d2e760d2f65cb9ba.tar.gz spark-8ba7f40b9b2367d3234ad5b7d2e760d2f65cb9ba.tar.bz2 spark-8ba7f40b9b2367d3234ad5b7d2e760d2f65cb9ba.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
(cherry picked from commit dc3b640a0ab3501b678b591be3e99fbcf3badbec)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-x | make-distribution.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index 62a2821774..55fe6c09d0 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -36,7 +36,7 @@ # 2) cd to deploy dir; ./sbin/start-master.sh # 3) Verify master is up by visiting web page, ie http://master-ip:8080. Note the spark:// URL. # 4) ./sbin/start-slave.sh 1 <<spark:// URL>> -# 5) MASTER="spark://my-master-ip:7077" ./bin/spark-shell +# 5) ./bin/spark-shell --master spark://my-master-ip:7077 # # Figure out where the Spark framework is installed |