Github user nchammas commented on a diff in the pull request:
https://github.com/apache/spark/pull/4122#discussion_r24206308
--- Diff: ec2/spark_ec2.py ---
@@ -1082,11 +1109,11 @@ def real_main():
time.sleep(30) # Yes, it does have to be this long :-(
for group in groups:
try:
- conn.delete_security_group(group.name)
- print "Deleted security group " + group.name
+ conn.delete_security_group(group_id=group.id)
--- End diff --
I would perhaps add a very short comment saying "we must use the group ID
here" so that other developers don't change this back to `group.name` and think
it works fine because they are testing outside VPCs.
---
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]