Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/2872#issuecomment-67429749
It looks like this PR may have broken the ability to launch spot clusters:
```python
Traceback (most recent call last):
File "./spark_ec2.py", line 1147, in <module>
main()
File "./spark_ec2.py", line 1139, in main
real_main()
File "./spark_ec2.py", line 988, in real_main
(master_nodes, slave_nodes) = launch_cluster(conn, opts, cluster_name)
File "./spark_ec2.py", line 437, in launch_cluster
user_data=user_data_content)
TypeError: request_spot_instances() got an unexpected keyword argument
'security_group_ids'
```
It looks like the latest version of Boto supports this argument
(http://boto.readthedocs.org/en/latest/ref/ec2.html#boto.ec2.connection.EC2Connection.request_spot_instances),
but not ours. We're using boto 2.4.1, which was released on May 16, 2012, but
this feature was only added August 2012:
https://github.com/boto/boto/commit/145a8994e516cd573854091d1a747a7e7b5a4498
I might be able to fix this by just upgrading to a newer version of Boto.
---
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]