
Answer-first summary for fast verification
Answer: Check the file path and ensure the file exists in the specified location.
Option B is the correct approach as it directly addresses the root cause of the error by verifying the file path and existence of the file.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are debugging a failed task in a Databricks job. The logs indicate a 'FileNotFoundError'. Which of the following actions would you take to resolve this issue?
A
Ignore the error and continue with the next task.
B
Check the file path and ensure the file exists in the specified location.
C
Restart the cluster and rerun the job.
D
Delete the task and create a new one.