aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2013-08-21 15:45:45 -0700
committerPatrick Wendell <pwendell@gmail.com>2013-08-21 15:45:45 -0700
commitc02585ea130045ef27e579172ac2acc71bc8da63 (patch)
tree5a73100dafa5bf85a16ce31146e31813fc9f91e5 /ec2
parent6be6b71c8cf9f8033e0a5cc8e00fbb2ed4ab778c (diff)
downloadspark-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.
Diffstat (limited to 'ec2')
-rwxr-xr-xec2/spark_ec2.py2
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