Github user GenTang commented on a diff in the pull request: https://github.com/apache/spark/pull/3986#discussion_r23811498 --- Diff: ec2/spark_ec2.py --- @@ -569,15 +569,34 @@ def launch_cluster(conn, opts, cluster_name): master_nodes = master_res.instances print "Launched master in %s, regid = %s" % (zone, master_res.id) --- End diff -- I agree with you. Since we can meet the same problem about propagating information of AWS in the `wait_for_cluster_state` function, I think that adding waiting time is much better workaround. The only disadvantage is that we need more 10 second to launch a cluster.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org