Art Peel created SPARK-1574:
-------------------------------
Summary: ec2/spark_ec2.py should provide option to control number
of attempts for ssh operations
Key: SPARK-1574
URL: https://issues.apache.org/jira/browse/SPARK-1574
Project: Spark
Issue Type: Improvement
Components: EC2
Affects Versions: 0.9.0
Reporter: Art Peel
Priority: Minor
EC instances are sometimes slow to start up. When this happens, generating the
cluster ssh key or sending the generated cluster key to the slaves can fail due
to an ssh timeout.
The script currently hard-codes the number of tries for ssh operations as 2.
For more flexibility, it should be possible to specify the number of tries with
a command-line option, --num-ssh-tries, that defaults to 2 to keep the current
behavior if not provided.
--
This message was sent by Atlassian JIRA
(v6.2#6252)