在Athena中创建新表并插入记录时出现S3访问被拒绝的错误。

0

【以下的问题经过翻译处理】 我在Athena中创建了一个简单的表,只有一个列: CREATE EXTERNAL TABLE IF NOT EXISTS all_event_types( event_subtype string) LOCATION 's3://table-data-location/'

然后使用从另一个表中检索到的记录插入: insert into all_event_types ( select distinct event_subtype from view_house_cs_conversions ) view_house_cs_conversions中有少于20个独特的事件子类型值。

Athena在运行了几分钟后报告了以下错误: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: MZAFPHBZPHMCPMKG; S3 Extended Request ID: PrYu9ZWEFToxZxX8vcxrxXuq+cBkOUiJnWdgelfyfPmYOnpbyCpoC6UvvQFo+VTPdWPGjnjQ2+I=; Proxy: null)。 这是什么原因?

profile picture
EXPERT
demandé il y a 6 mois6 vues
1 réponse
0

【以下的回答经过翻译处理】 请参考此链接: https://repost.aws/zh-Hans/knowledge-center/access-denied-athena

profile picture
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions