diff options
author | Evan Chan <ev@ooyala.com> | 2013-06-25 00:15:58 -0700 |
---|---|---|
committer | Evan Chan <ev@ooyala.com> | 2013-06-25 00:15:58 -0700 |
commit | 243d71cb066d888f3d1a9c613859522438b69ba8 (patch) | |
tree | ae75f3c61db2e36cf25ab8027de91c9700114440 | |
parent | c3d11d0d57739ec3f08783f71bf4d0efdec3d627 (diff) | |
download | spark-243d71cb066d888f3d1a9c613859522438b69ba8.tar.gz spark-243d71cb066d888f3d1a9c613859522438b69ba8.tar.bz2 spark-243d71cb066d888f3d1a9c613859522438b69ba8.zip |
Add deploy/testing procedure
-rwxr-xr-x | make-distribution.sh | 8 |
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)" |