使用Athena查询目录/表以访问S3数据。

0

【以下的问题经过翻译处理】 我有一份存储在S3中的数据,通过Glue目录公开为一个表。当访问此表时,Athena显示以下错误信息:

HIVE_UNKNOWN_ERROR: com.amazonaws.services.lakeformation.model.InvalidInputException: Unable to assume role. Please verify Lake Formation has access to role arn:aws:iam::289301669695:role/aws-reserved/sso.amazonaws.com/eu-central-1/AWSReservedSSO_Admin_d6ea6773e5ad46b6 (Service: AWSLakeFormation; Status Code: 400; Error Code: InvalidInputException; Request ID: 93e11aa6-46e2-47bb-be99-4dddbc7bb820; Proxy: null)

请注意:

*我的用户是AWSReservedSSO_Admin_d6ea6773e5ad46b6,已被授予管理员/访问全部资源的权限(IAM策略=允许所有资源)! https://repost.aws/media/postImages/original/IMYDceJu0IRwOr9jRWpA0DLw *目录表定义在这里。 https://repost.aws/media/postImages/original/IM36Nk7DAFTg6acODiCx6DIw *提供以下权限!https://repost.aws/media/postImages/original/IMCfDjVIckQPivHTmiKKCPgA

profile picture
EXPERT
asked 6 months ago28 views
1 Answer
0

【以下的回答经过翻译处理】 在Lake Formation中的IAM角色存在问题。 请确保按照以下文档中描述的方式拥有必要的权限。 https://docs.aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions