Skip to content
Snippets Groups Projects
  • Aaron Davidson's avatar
    f589ce77
    Fix issue with spark_ec2 seeing empty security groups · f589ce77
    Aaron Davidson authored
    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 #827, now that the issue
    has been reproduced.
    f589ce77
    History
    Fix issue with spark_ec2 seeing empty security groups
    Aaron Davidson authored
    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 #827, now that the issue
    has been reproduced.