A nightly Lakeflow Job stopped producing any task output last week. Every run ends within a few minutes and the workspace reports that the job cluster was terminated because a cluster-scoped init script failed. The script was added seven days ago and installs an operating system package from an internal package repository. The engineer on call must establish why the script failed on this compute before changing the script or the cluster. Which action supplies that evidence?
- AAttach a notebook to the job cluster and step through the init script commands one at a time so that the failing command reveals itself interactively.
- BOpen the Spark UI for the failed run and read the executor and stage detail pages, where the error raised by the init script is recorded against the first stage.
- CIncrease the driver node size and the autoscaling maximum on the job cluster, then restart the run to see whether the script completes with more resources available to it.
- DRead the termination reason recorded in the cluster event log for the failed cluster, then open the init script output written to the destination configured for cluster log delivery. Correct
Why A is wrong: This is how the script would be developed in the first place, which makes it tempting, but the cluster never reaches a running state when an init script fails, so no notebook can attach to it and no cell can execute.
Why B is wrong: The Spark UI is the right place for a failure inside a running application, but init scripts execute before the Spark application starts, so there is no application, no stage and no executor page for this run at all.
Why C is wrong: Resizing is a plausible reflex when a cluster will not start, but it is a cause-blind fix: a script that fails on a package download or a permission error fails identically on larger instances, and the evidence is still unread.
Why D is correct: The event log names the failure and identifies the script, and the delivered init script log holds the standard output and standard error of the script itself, which is where the failing command and its message appear.