🔥 3-day streak
AWS Certified Data Engineer - Associate53 / 159
Question 53 of 159

A data engineer runs a nightly AWS Glue Spark ETL job that has recently started failing after processing about 80% of its input. The CloudWatch job metrics show glue.driver.jvm.heap.usage climbing steadily toward 1.0 and glue.ExecutorAllocationManager.executors.numberMaxNeededExecutors well above the number of allocated executors, while glue.driver.aggregate.shuffleBytesWritten is very high. The job code performs a large groupBy followed by a collect() to build a lookup dictionary on the driver. What is the MOST likely root cause and appropriate fix?

Reviewed for accuracy · Report an issueNext question