Error when query on database in glue catalog

1

Tried in CLI and console mode, when I clicked on a database in dsta catalog, getting below error

AccessDeniedException: Please migrate your catalog to enable access to this database

This Athena catalog was working before fine, not sure what changed internally. Any suggestions would be highly appreciated

Vaas
質問済み 7ヶ月前450ビュー
1回答
3
承認された回答

Hello,

This error generally occurs when an existing Athena data catalog has not yet been migrated to a new Glue Data Catalog which you might verify through Cloudtrail if anyone within your org performed the changes.

Further, performing the following AWS CLI command on the account that housing the database, the issue can be resolved, import the catalog

aws glue import-catalog-to-glue --catalog-id <acount_id> --region us-east-1

To check the status,

aws glue get-catalog-import-status --catalog-id <acount_id> --region us-east-1
AWS
サポートエンジニア
回答済み 7ヶ月前
profile pictureAWS
エキスパート
レビュー済み 7ヶ月前
  • Thanks a lot! I was able to fix the issue with help of above instructions.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ