
Answer-first summary for fast verification
Answer: The AWS Glue job does not have a required commit statement.
AWS Glue job bookmarks help Glue maintain state information and prevent the reprocessing of old data. To correctly update the bookmark's state after reading and processing data, you must include a commit statement (`job.commit()`) at the end of your script. If this statement is missing, the bookmark state is not advanced, leading to the reprocessing of previously loaded files.
Author: Ritesh Yadav
Ultimate access to all questions.
A data engineer needs to debug an AWS Glue job that reads from Amazon S3 and writes to Amazon Redshift. The data engineer enabled the bookmark feature for the AWS Glue job. The data engineer has set the maximum concurrency for the AWS Glue job to 1. The AWS Glue job is successfully writing the output to Amazon Redshift. However, the Amazon S3 files that were loaded during previous runs of the AWS Glue job are being reprocessed by subsequent runs. What is the likely reason the AWS Glue job is reprocessing the files?
A
The AWS Glue job does not have the s3:GetObjectAcl permission that is required for bookmarks to work correctly.
B
The maximum concurrency for the AWS Glue job is set to 1.
C
The data engineer incorrectly specified an older version of AWS Glue for the Glue job.
D
The AWS Glue job does not have a required commit statement.
No comments yet.