aboutsummaryrefslogtreecommitdiff
path: root/make-distribution.sh
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-05-08 22:26:17 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-05-08 22:26:36 -0700
commit06b15baab25951d124bbe6b64906f4139e037deb (patch)
tree5d696f3f36535553478418c850882c0325e38af3 /make-distribution.sh
parent3f779d872d8459b262b3db9e4d12b011910b6ce9 (diff)
downloadspark-06b15baab25951d124bbe6b64906f4139e037deb.tar.gz
spark-06b15baab25951d124bbe6b64906f4139e037deb.tar.bz2
spark-06b15baab25951d124bbe6b64906f4139e037deb.zip
SPARK-1565 (Addendum): Replace `run-example` with `spark-submit`.
Gives a nicely formatted message to the user when `run-example` is run to tell them to use `spark-submit`. Author: Patrick Wendell <pwendell@gmail.com> Closes #704 from pwendell/examples and squashes the following commits: 1996ee8 [Patrick Wendell] Feedback form Andrew 3eb7803 [Patrick Wendell] Suggestions from TD 2474668 [Patrick Wendell] SPARK-1565 (Addendum): Replace `run-example` with `spark-submit`.
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-xmake-distribution.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make-distribution.sh b/make-distribution.sh
index 759e555b4b..1cc2844703 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -40,6 +40,8 @@
#
set -o pipefail
+set -e
+
# Figure out where the Spark framework is installed
FWDIR="$(cd `dirname $0`; pwd)"
DISTDIR="$FWDIR/dist"