GitHub user mdagost opened a pull request:
https://github.com/apache/spark/pull/5244
SPARK-6588: Add --private-ips flag to EC2 script
The `spark_ec2.py` script currently references the `ip_address` and
`public_dns_name` attributes of an instance. On private networks, these fields
aren't set, so we have problems.
This PR introduces a `--private-ips` flag that instead refers to the
`private_ip_address` attribute in both cases.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdagost/spark ec2_private_nets
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5244.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5244
----
commit 2d9b7775ac1e6ae9942a2268567e176a4921ecf9
Author: Michelangelo D'Agostino <[email protected]>
Date: 2015-03-28T17:29:47Z
ENH: Add --private-ips flag.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]