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
posta 7 mesi fa450 visualizzazioni
1 Risposta
3
Risposta accettata

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
TECNICO DI SUPPORTO
con risposta 7 mesi fa
profile pictureAWS
ESPERTO
verificato 7 mesi fa
  • Thanks a lot! I was able to fix the issue with help of above instructions.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande