Troubleshooting
See the following sections for troubleshooting solutions.
Logging
Amazon Glue uses Spark resources profiles to split job execution. Amazon Glue uses the user profile to run the code you supplied, while the system profile enforces Lake Formation policies. You can access the logs for the tasks ran as the user profile.
Live UI and Spark History Server
The Live UI and the Spark History Server have all Spark events generated from the user profile and redacted events generated from the system driver.
You can see all of the tasks from both the user and system drivers in the Executors tab. However, log links are available only for the user profile. Also, some information is redacted from Live UI, such as the number of output records.
Job failed with insufficient Lake Formation permissions
Make sure that your job runtime role has the permissions to run SELECT and DESCRIBE on the table that you are accessing.
Job with RDD execution failed
Amazon Glue currently doesn't support resilient distributed dataset (RDD) operations on Lake Formation-enabled jobs.
Unable to access data files in Amazon S3
Make sure you have registered the location of the data lake in Lake Formation.
Security validation exception
Amazon Glue detected a security validation error. Contact Amazon support for assistance.
Sharing Amazon Glue Data Catalog and tables across accounts
You can share databases and tables across accounts and still use Lake Formation. For more
information, see Cross-account data
sharing in Lake Formation and How
do I share Amazon Glue Data Catalog and tables cross-account using ?