86403f5525
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. |
||
---|---|---|
.. | ||
deploy.generic/root/spark-ec2 | ||
README | ||
spark-ec2 | ||
spark_ec2.py |
This folder contains a script, spark-ec2, for launching Spark clusters on Amazon EC2. Usage instructions are available online at: http://spark.apache.org/docs/latest/ec2-scripts.html