简体   繁体   English

在ec2上安装Spark会出现错误EC2ResponseError:403 Forbidden

[英]Installing Spark on ec2 gives error EC2ResponseError: 403 Forbidden

我遵循指南在ec2上安装spark。但是在启动集群时出现以下错误:

ERROR:boto:403 Forbidden

I ran into this problem and got around it by using a "-w 600", which basically says wait for 600 second. 我遇到了这个问题,并使用“ -w 600”解决了这个问题,它基本上说等待600秒。 Apparently, there is some housekeeping that the process needs more time on. 显然,有些内务处理需要花费更多时间。

Ok I found out here that you have to set the privilege of the user (the user from which you got your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) to the value AmazonEC2FullAccess 好的,我在这里发现您必须将用户(您从中获得AWS_ACCESS_KEY_ID和AWS_SECRET_ACCESS_KEY的用户)的特权设置为值AmazonEC2FullAccess

This should solve your problem for most of you ! 这应该为大多数人解决您的问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM