Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with spark_ec2 seeing empty security groups
Under unknown, but occasional, circumstances, reservation.groups is empty despite reservation.instances each having groups. This means that the spark_ec2 get_existing_clusters() method would fail to find any instances. To fix it, we simply use the instances' groups as the source of truth. Note that this is actually just a revival of PR apache#827, now that the issue has been reproduced.
- Loading branch information