Apache spark can';t使用spark-ec2在aws上创建spark群集:每30秒重试一次错误
我使用的命令(指定的vpc id、子网id和专用IP:Apache spark can';t使用spark-ec2在aws上创建spark群集:每30秒重试一次错误,apache-spark,amazon-ec2,spark-ec2,Apache Spark,Amazon Ec2,Spark Ec2,我使用的命令(指定的vpc id、子网id和专用IP: ./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 它开始创建节点
./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.