diff options
author | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-02-18 18:30:36 -0800 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-02-18 18:30:36 -0800 |
commit | 6cba5a48b0bc1a90dd7a914a82636fcd33294822 (patch) | |
tree | 185e6ae24ce09dece4f89e20e41fb5612954cc03 | |
parent | e7cdf7a6a496ee76a2c53ac27514c469d929471e (diff) | |
download | spark-6cba5a48b0bc1a90dd7a914a82636fcd33294822.tar.gz spark-6cba5a48b0bc1a90dd7a914a82636fcd33294822.tar.bz2 spark-6cba5a48b0bc1a90dd7a914a82636fcd33294822.zip |
Print cluster url after setup completes
-rwxr-xr-x | ec2/spark_ec2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index 6056498577..66b1faf2cd 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -415,6 +415,11 @@ def setup_standalone_cluster(master, slave_nodes, opts): def setup_spark_cluster(master, opts): ssh(master, opts, "chmod u+x spark-ec2/setup.sh") ssh(master, opts, "spark-ec2/setup.sh") + if opts.cluster_type == "mesos": + print "Mesos cluster started at http://%s:8080" % master + elif opts.cluster_type == "standalone": + print "Spark standalone cluster started at http://%s:8080" % master + if opts.ganglia: print "Ganglia started at http://%s:5080/ganglia" % master |