
Answer-first summary for fast verification
Answer: Repair the job to re-run only the last 2 tasks that failed or were skipped.
Repairing an unsuccessful job run allows for the re-execution of only the failed or skipped tasks and their dependencies, without re-running successful tasks. This approach significantly reduces the time and resources needed for recovery. To repair a job run, navigate to the Jobs section, select the unsuccessful run, and use the 'Repair run' option. This feature enables the adjustment of job or task settings before re-running, ensuring tasks are executed with the most current configurations. Therefore, the optimal solution is to repair the job so that only the last 2 tasks, which failed or were skipped, are re-run.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A Databricks Job, consisting of 5 tasks with linear dependencies, typically completes in about an hour. However, it recently failed after the first 3 tasks succeeded, due to an issue in the 4th task, causing the 5th task to be skipped. What is the most efficient way to repair this job run to ensure success while minimizing execution time and compute resources?
A
Delete the failed job run and initiate a new run for the job.
B
Repair the job to re-run only the last 2 tasks that failed or were skipped.
C
Manually execute the code for the last 2 tasks to repair the job run.
D
Start a new run for the job without deleting the failed run.
E
Repair the job to re-run all 5 tasks.
No comments yet.