Skip to content

A scenario for a platform engineer · Junior and up

A cluster ran all weekend

Penny · Finance
Monday, 09:05

Someone left a large all-purpose cluster running in your Databricks workspace from Friday evening. It did nothing for sixty hours, and the bill shows it.

What do you do?

Tap the one you would do. The answer opens below.

Show the best call

Write a compute policy that forces auto termination and caps the size, and make it the only way people can create compute.

The next forgotten cluster shuts itself down after an idle hour.

Why

A compute policy limits what people can set when they create compute. It can fix the auto termination time and the largest size, so the rule holds without anyone having to remember it. It binds only people who cannot create compute without a policy.

Read it in the Databricks docs (opens in a new tab)

The other two

Works, at a price. Post a reminder in the team channel to stop clusters on Fridays.
It works for two weeks.
A poor call. Take away everyone's right to create clusters.
Nothing is left running. Nothing gets done either, and you are now the ticket queue.

The words in this scenario

All-purpose cluster.
Compute that people start and share for interactive work, such as notebooks. It keeps running until someone stops it or it has sat idle for its auto termination time. In the docs (opens in a new tab)
Compute policy.
A set of rules that limits what people can choose when they create compute, such as its size or how long it may sit idle. In the docs (opens in a new tab)
Auto termination.
A setting that stops a cluster after it has been idle for a set number of minutes. In the docs (opens in a new tab)

Go deeper on brickster.ai

More 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.