简体   繁体   English

亚马逊雅典娜可以在没有胶水目录的情况下工作吗?

[英]Can amazon Athena work without Glue catalog?

Can I use Informatica EDC instead of Glue catalog in AWS.我可以在 AWS 中使用 Informatica EDC 而不是 Glue 目录吗? does AWS Athena tightly coupled with Glue catalog? AWS Athena 是否与 Glue 目录紧密耦合?

Did you check here: [https://docs.aws.amazon.com/athena/latest/ug/glue-upgrade.html?你在这里检查了吗:[https://docs.aws.amazon.com/athena/latest/ug/glue-upgrade.html?

Looks like you need to perform some AWS Glue upgrade, and also add policies so that Athena can pull catalog information.看起来您需要执行一些 AWS Glue 升级,并添加策略以便 Athena 可以提取目录信息。 Also, FAQ is available here https://docs.aws.amazon.com/athena/latest/ug/glue-faq.html .此外,常见问题解答可在此处找到 https://docs.aws.amazon.com/athena/latest/ug/glue-faq.html I have not worked on this scenario yet, but working on Glue - Redshift.我还没有处理过这种情况,但正在处理 Glue - Redshift。

In the FAQ, its mentioned as follows:在常见问题解答中,其提到如下:

Why do I need to add AWS Glue policies to Athena users?为什么我需要向 Athena 用户添加 AWS Glue 策略? Before you upgrade, Athena manages the data catalog, so Athena actions must be allowed for your users to perform queries.在您升级之前,Athena 管理数据目录,因此必须允许 Athena 操作以便您的用户执行查询。 After you upgrade to the AWS Glue Data Catalog, Athena actions no longer apply to accessing the AWS Glue Data Catalog, so AWS Glue actions must be allowed for your users.升级到 AWS Glue 数据目录后,Athena 操作不再适用于访问 AWS Glue 数据目录,因此您的用户必须允许 AWS Glue 操作。 Remember, the managed policy for Athena has already been updated to allow the required AWS Glue actions, so no action is required if you use the managed policy.请记住,Athena 的托管策略已更新为允许执行所需的 AWS Glue 操作,因此如果您使用托管策略,则无需执行任何操作。

What happens if I don't allow AWS Glue policies for Athena users?如果我不允许 Athena 用户使用 AWS Glue 策略会怎样?

If you upgrade to the AWS Glue Data Catalog and don't update a user's customer-managed or inline IAM policies, Athena queries fail because the user won't be allowed to perform actions in AWS Glue.如果您升级到 AWS Glue 数据目录并且不更新用户的客户管理或内联 IAM 策略,Athena 查询将失败,因为不允许用户在 AWS Glue 中执行操作。 For the specific actions to allow, see Step 2 - Update Customer-Managed/Inline Policies Associated with Athena Users.有关允许的特定操作,请参阅步骤 2 - 更新与 Athena 用户关联的客户管理/内联策略。

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

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