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
demandé il y a 7 mois450 vues
1 réponse
3
Réponse acceptée

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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 7 mois
profile pictureAWS
EXPERT
vérifié il y a 7 mois
  • Thanks a lot! I was able to fix the issue with help of above instructions.

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