Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Glue Workflow failed. Unable to verify existence of default database. #2

Open
thomelane opened this issue Apr 21, 2020 · 1 comment

Comments

@thomelane
Copy link
Contributor

When running:

glue.wait_for_workflow_finished(config.GLUE_WORKFLOW, glue_run_id)

Get the following error:

Exception: AWS Glue Workflow failed. Check the workflow logs on the console.

After checking the AWS Glue Workflow, the error is on the Job stage.

Clicking on the Job shows the following error:

AnalysisException: 'java.lang.RuntimeException: MetaException(message:Unable to verify existence of default database: com.amazonaws.services.glue.model.AccessDeniedException: Please migrate your Catalog to enable access to this database (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: b5f4516c-0451-4a55-a015-b64f7761e21f));'
@thomelane
Copy link
Contributor Author

See Upgrading to the AWS Glue Data Catalog Step-by-Step.

"If you created databases and tables using Athena or Amazon Redshift Spectrum prior to a region's support for AWS Glue, you can upgrade Athena to use the AWS Glue Data Catalog."

Going to Amazon Athena Console, my account had the following notification:

image

Clicking 'here to upgrade' solved the issue, after following along with the instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant