A scenario for a platform engineer · Junior and up
Forty jobs failed at once
Beep · On call
Monday, 06:45
Every Databricks job owned by an engineer who left on Friday failed this morning. Their account was deactivated, and the jobs ran as them.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Change the jobs to run as a service principal that exists only for this work.
The jobs no longer depend on anyone's employment.
Why
A job runs with the permissions of its run-as identity. A service principal is an identity for automation, not a person, so production jobs keep working when people come and go.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Set the jobs to run as you.
- They run again, until you go on holiday, change teams or leave.
- A poor call. Ask IT to turn the old account back on.
- The jobs run, on the login of someone who no longer works here.
The words in this scenario
- Service principal.
- An identity made for automation, not for a person. Jobs and tools sign in as one. In the docs (opens in a new tab)
Go deeper on brickster.ai
- Service Principal: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Workflows: what changed recentlyNews, releases, videos and questions on it, gathered daily.
More scenarios
- One upgrade broke everyone's notebooks · platform engineer
- The orders table is gone · platform engineer
- The runtime is reaching end of support · platform engineer
- All 47 scenarios
Had one like this at work? Send it to us: the best tickets come from real incidents.
Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.