[ https://issues.apache.org/jira/browse/SPARK-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248836#comment-14248836 ]
Josh Rosen commented on SPARK-2611: ----------------------------------- For the folks watching this issue: SPARK-3405 has now been merged into {{master}}! > VPC Issue while creating an ec2 cluster > --------------------------------------- > > Key: SPARK-2611 > URL: https://issues.apache.org/jira/browse/SPARK-2611 > Project: Spark > Issue Type: Bug > Components: EC2, PySpark > Affects Versions: 1.0.0 > Environment: Debian wheezy > Reporter: Anass BENSRHIR > > I'm having a critical issue while creating an ec2 cluster , here is the input > command and output i got : > ./spark-ec2 -i ~/amazonhdp.pem -k amazonhdp -s 4 -t m1.small launch hadoopi > Setting up security groups... > Creating security group hadoopi-master > Creating security group hadoopi-slaves > ERROR:boto:400 Bad Request > ERROR:boto:<?xml version="1.0" encoding="UTF-8"?> > <Response><Errors><Error><Code>InvalidGroup.NotFound</Code><Message>The > security group 'sg-2ec1b84b' does not > exist</Message></Error></Errors><RequestID>6554c7a8-f68a-4032-ad63-65106e2de9b3</RequestID></Response> > Traceback (most recent call last): > File "./spark_ec2.py", line 856, in <module> > main() > File "./spark_ec2.py", line 848, in main > real_main() > File "./spark_ec2.py", line 731, in real_main > conn, opts, cluster_name) > File "./spark_ec2.py", line 252, in launch_cluster > master_group.authorize('tcp', 50030, 50030, '0.0.0.0/0') > File > "/opt/spark-1.0.1-bin-hadoop2/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/ec2/securitygroup.py", > line 184, in authorize > File > "/opt/spark-1.0.1-bin-hadoop2/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/ec2/connection.py", > line 2181, in authorize_security_group > File > "/opt/spark-1.0.1-bin-hadoop2/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/connection.py", > line 944, in get_status > boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request > <?xml version="1.0" encoding="UTF-8"?> > <Response><Errors><Error><Code>InvalidGroup.NotFound</Code><Message>The > security group 'sg-2ec1b84b' does not > exist</Message></Error></Errors><RequestID>6554c7a8-f68a-4032-ad63-65106e2de9b3</RequestID></Response> -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org