aboutsummaryrefslogtreecommitdiff
path: root/make-distribution.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-xmake-distribution.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/make-distribution.sh b/make-distribution.sh
index 34f6d4a36b..855475864d 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -4,6 +4,14 @@
# The distribution directory defaults to dist/ but can be overridden below.
# The distribution contains fat (assembly) jars that include the Scala library,
# so it is completely self contained.
+# It does not contain source or *.class files.
+#
+# Recommended deploy/testing procedure (standalone mode):
+# 1) Rsync / deploy the dist/ dir to one host
+# 2) cd to deploy dir; ./bin/start-master.sh
+# 3) Verify master is up by visiting web page, ie http://master-ip:8080. Note the spark:// URL.
+# 4) ./bin/start-slave.sh 1 <<spark:// URL>>
+# 5) MASTER="spark://my-master-ip:7077" ./spark-shell
# Figure out where the Spark framework is installed
FWDIR="$(cd `dirname $0`; pwd)"