Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1574

ec2/spark_ec2.py should provide option to control number of attempts for ssh operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • None
    • EC2
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              nchammas Nicholas Chammas
              foundart Art Peel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: