GitHub user nchammas opened a pull request:
https://github.com/apache/spark/pull/2339
[SPARK-3398] [EC2] Have spark-ec2 intelligently wait for specific cluster
states
Instead of waiting arbitrary amounts of time for the cluster to reach a
specific state, this patch lets `spark-ec2` explicitly wait for a cluster to
reach a desired state.
This is useful in a couple of situations:
* The cluster is launching and you want to wait until SSH is available
before installing stuff.
* The cluster is being terminated and you want to wait until all the
instances are terminated before trying to delete security groups.
This patch removes the need for the `--wait` option and removes some of the
time-based retry logic that was being used.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nchammas/spark spark-ec2-wait-properly
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2339.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2339
----
commit 126e4cfdc9e152ba8af60055b5b76afeee451f06
Author: Nicholas Chammas <[email protected]>
Date: 2014-09-09T23:13:47Z
wait for specific cluster states
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]