Skip to content

Conversation

@jcderr
Copy link

@jcderr jcderr commented Nov 25, 2015

If --private-ips is required but not provided, spark_ec2.py may behave inappropriately, including attempting to ssh to localhost in attempts to verify ssh connectivity to the cluster.

This fixes that behavior by raising a UsageError exception if get_dns_name is unable to determine a hostname as a result.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@apivovarov
Copy link
Contributor

Should the script automatically use private ip if public ip is empty?

@jcderr
Copy link
Author

jcderr commented Nov 25, 2015

I would prefer yes, but looking at the logic in the rest of the script, it looks like there's a preference to just raise the usage error.

@rxin
Copy link
Contributor

rxin commented Nov 27, 2015

Thanks - going to merge this.

@asfgit asfgit closed this in 5eaed4e Nov 27, 2015
@apivovarov
Copy link
Contributor

we need to merge it to branch-1.5 because branch-1.5 has the latest and updated ec2 script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants