diff options
author | Michelangelo D'Agostino <mdagostino@civisanalytics.com> | 2015-04-08 16:48:45 -0400 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-08 16:48:45 -0400 |
commit | 86403f5525782bc9656ab11790f7020baa6b2c1f (patch) | |
tree | 1b0489274f5978a58e979cdffa6ea3413edeee1e /ec2/deploy.generic | |
parent | 2f482d706b9d38820472c3152dbd1612c98729bd (diff) | |
download | spark-86403f5525782bc9656ab11790f7020baa6b2c1f.tar.gz spark-86403f5525782bc9656ab11790f7020baa6b2c1f.tar.bz2 spark-86403f5525782bc9656ab11790f7020baa6b2c1f.zip |
[SPARK-5242]: 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.
Author: Michelangelo D'Agostino <mdagostino@civisanalytics.com>
Closes #5244 from mdagost/ec2_private_nets and squashes the following commits:
b684c67 [Michelangelo D'Agostino] STY: A few python lint changes.
a4a2eac [Michelangelo D'Agostino] ENH: Fix IP's typo and refactor conditional logic into functions.
c004604 [Michelangelo D'Agostino] ENH: Add --private-ips flag.
Diffstat (limited to 'ec2/deploy.generic')
0 files changed, 0 insertions, 0 deletions