Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/2339#discussion_r17377782
--- Diff: ec2/spark_ec2.py ---
@@ -60,9 +60,11 @@ def parse_args():
parser.add_option(
"-s", "--slaves", type="int", default=1,
help="Number of slaves to launch (default: %default)")
- parser.add_option(
- "-w", "--wait", type="int", default=120,
- help="Seconds to wait for nodes to start (default: %default)")
+ # NOTE: For strict "API" compatibility, we should probably leave this
in
+ # and just mark it as deprecated / not used.
+ # parser.add_option(
+ # "-w", "--wait", type="int", default=120,
+ # help="Seconds to wait for nodes to start (default: %default)")
--- End diff --
Yes, we should keep this options, and deprecate it in help message.
PS: Should we use this as an hard deadline for wait_for_cluster_state()? or
it will wait forever.
---
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]