我使用的命令(指定 vpc-id、subnet-id 和 private-ips:
./spark-ec2 -k jetflix-spark -i
/home/ec2-user/jetflix-spark.pem -s 1 -t m1.small
-r us-east-1 -z us-east-1a --vpc-id=vpc-0034d4c0cd6f53f83
--subnet-id=subnet-0eadaf5cc190d3d65 --private-ips launch my_cluster
它开始创建节点。但随后出现此错误:
Error executing remote command, retrying after 30 seconds: Command '['ssh', '-o'
, 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-i', '/home/ec2-user/jetflix-spark.pem', '-t', '-t', u'root@10.0.0.87', 'rm -rf spark-ec2 &
& git clone https://github.com/amplab/spark-ec2 -b branch-2.0 spark-ec2']' returned non-zero exit status 128
Warning: Permanently added '10.0.0.87' (RSA) to the list of known hosts.
Cloning into 'spark-ec2'...
error: Failed connect to github.com:443; Connection timed out while accessing https://github.com/amplab/spark-ec2/info/refs?service=git-upload-pack
fatal: HTTP request failed
Connection to 10.0.0.87 closed.