Hi all – I’m trying to bring up a spark ec2 cluster with the script below and 
see the following error. Can anyone please advise as to what’s going on? Is 
this indicative of me being unable to connect in the first place? The keys are 
known to work (they’re used elsewhere).

./spark-ec2 -k $AWS_KEYPAIR_NAME -i $AWS_PRIVATE_KEY -s 2 --region=us-west1 
--zone=us-west-1a --instance-type=r3.2xlarge launch FuntimePartyLand

Setting up security groups...
Traceback (most recent call last):
  File "./spark_ec2.py", line 1383, in <module>
    main()
  File "./spark_ec2.py", line 1375, in main
    real_main()
  File "./spark_ec2.py", line 1210, in real_main
    (master_nodes, slave_nodes) = launch_cluster(conn, opts, cluster_name)
  File "./spark_ec2.py", line 431, in launch_cluster
    master_group = get_or_make_group(conn, cluster_name + "-master", 
opts.vpc_id)
  File "./spark_ec2.py", line 310, in get_or_make_group
    groups = conn.get_all_security_groups()
AttributeError: 'NoneType' object has no attribute ‘get_all_security_groups'

Thank you,
Ilya Ganelin

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to 
Capital One and/or its affiliates. The information transmitted herewith is 
intended only for use by the individual or entity to which it is addressed.  If 
the reader of this message is not the intended recipient, you are hereby 
notified that any review, retransmission, dissemination, distribution, copying 
or other use of, or taking of any action in reliance upon this information is 
strictly prohibited. If you have received this communication in error, please 
contact the sender and delete the material from your computer.

Reply via email to