From 60cf6ee57f75bdc28f67372b887580d8ffd74fb9 Mon Sep 17 00:00:00 2001 From: Matt Aasted Date: Tue, 31 Mar 2015 15:28:01 -0700 Subject: [PATCH] [SPARK-6636] Use public DNS hostname everywhere in spark_ec2.py --- ec2/spark_ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index c467cd08ed74..7d20670d5951 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -802,7 +802,7 @@ def is_cluster_ssh_available(cluster_instances, opts): Check if SSH is available on all the instances in a cluster. """ for i in cluster_instances: - if not is_ssh_available(host=i.ip_address, opts=opts): + if not is_ssh_available(host=i.public_dns_name, opts=opts): return False else: return True