diff options
author | Patrick Wendell <pwendell@gmail.com> | 2013-08-21 15:45:45 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2013-08-21 15:45:45 -0700 |
commit | c02585ea130045ef27e579172ac2acc71bc8da63 (patch) | |
tree | 5a73100dafa5bf85a16ce31146e31813fc9f91e5 | |
parent | 6be6b71c8cf9f8033e0a5cc8e00fbb2ed4ab778c (diff) | |
download | spark-c02585ea130045ef27e579172ac2acc71bc8da63.tar.gz spark-c02585ea130045ef27e579172ac2acc71bc8da63.tar.bz2 spark-c02585ea130045ef27e579172ac2acc71bc8da63.zip |
Make initial connection failure message less daunting.
Right now it seems like something has gone wrong when this message is printed out.
Instead, this is a normal condition. So I changed the message a bit.
-rwxr-xr-x | ec2/spark_ec2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index 30253a94b8..932e70db96 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -562,7 +562,7 @@ def ssh(host, opts, command): except subprocess.CalledProcessError as e: if (tries > 2): raise e - print "Error connecting to host {0}, sleeping 30".format(e) + print "Couldn't connect to host {0}, waiting 30 seconds".format(e) time.sleep(30) tries = tries + 1 |