QuestionQ246

VerifiedDebugging and Deploying

A Databricks job is configured with three tasks, each running a Databricks notebook. Task A has no dependencies. Tasks B and C execute in parallel, and each has a serial dependency on task A.

What is the resulting state when tasks A and B complete successfully, but task C fails during a scheduled run?

Explanation

Databricks Jobs schedules dependent tasks according to the task graph, but it does not make a multi-task notebook job a single atomic transaction. Successfully completed tasks remain completed, and a failing notebook task can have produced partial output before it fails. Databricks documentation specifically notes that tasks are not made idempotent and that a task may write part of its output before failure.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!