Skip to content

Commit

Permalink
solve the issus spark-4983 by inserting waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
GenTang committed Jan 31, 2015
1 parent 3179737 commit ab7a931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ec2/spark_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ def launch_cluster(conn, opts, cluster_name):
master_nodes = master_res.instances
print "Launched master in %s, regid = %s" % (zone, master_res.id)

# Wait for the information of the just-launched instances to be propagated within AWS
time.sleep(5)
# Give the instances descriptive names
for master in master_nodes:
master.add_tag(
Expand Down

0 comments on commit ab7a931

Please sign in to comment.