【发布时间】:2023-03-25 09:46:01
【问题描述】:
我正在使用此链接在 EMR(Amazon 上的 Elastic Map Reduce)上安装 Spark Cluster https://aws.amazon.com/articles/Elastic-MapReduce/4926593393724923
为了创建一个 Spark 集群,我运行了以下命令,我的集群每次都会遇到引导失败。我无法解决这个问题,如果有人能在这里帮助我,那就太好了。
aws emr create-cluster --name SparkCluster --ami-version 3.2 \
--instance-type m3.xlarge --instance-count 3 --ec2-attributes \
KeyName=MYKEY --applications Name=Hive --bootstrap-actions \
Path=s3://support.elasticmapreduce/spark/install-spark
已解决:使用此:
aws emr create-cluster --name SparkCluster --ami-version 3.7 \
--instance-type m3.xlarge --instance-count 3 --service-role \
EMR_DefaultRole --ec2-attributes \
KeyName=emr,InstanceProfile=EMR_EC2_DefaultRole \
--applications Name=Hive --bootstrap-actions \
Path=s3://support.elasticmapreduce/spark/install-spark
【问题讨论】:
-
错误图片pinterest.com/pin/429953095652592303>
标签: amazon-web-services apache-spark hadoop amazon-emr