Skip to content
Snippets Groups Projects
Commit 8dc72425 authored by Denny's avatar Denny
Browse files

Use root login in standalone AMI

parent 7152c7c1
No related branches found
No related tags found
No related merge requests found
...@@ -349,7 +349,7 @@ def setup_mesos_cluster(master, opts): ...@@ -349,7 +349,7 @@ def setup_mesos_cluster(master, opts):
def setup_standalone_cluster(master, slave_nodes, opts): def setup_standalone_cluster(master, slave_nodes, opts):
slave_ips = '\n'.join([i.public_dns_name for i in slave_nodes]) slave_ips = '\n'.join([i.public_dns_name for i in slave_nodes])
ssh(master, opts, "echo \"%s\" > spark/conf/slaves" % (slave_ips)) ssh(master, opts, "echo \"%s\" > spark/conf/slaves" % (slave_ips))
ssh(master, opts, "/home/ec2-user/spark/bin/start-all.sh") ssh(master, opts, "/root/spark/bin/start-all.sh")
# Wait for a whole cluster (masters, slaves and ZooKeeper) to start up # Wait for a whole cluster (masters, slaves and ZooKeeper) to start up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment