How do I move existing workflows and jobs running on an all-purpose cluster to a shared jobs cluster?

MadelynM
Databricks Employee
Databricks Employee

A Databricks cluster is a set of computation resources that performs the heavy lifting of all of the data workloads you run in Databricks. Databricks provides a number of options when you create and configure clusters to help you get the best performance at the lowest cost.

This post will help you switch your jobs running on an all-purpose cluster to a shared jobs cluster. Job clusters help you by reducing resource usage and cost.

Pre-req

  • You have permissions to create and manage clusters in your Databricks workspace - Cluster overview AWS, Azure, GCP
  • You have Jobs running – Jobs Quickstart AWS, Azure, GCP

Steps to move existing jobs and workflows

  1.  Navigate to the Data Science & Engineering homepageLeft navigation bar selecting Data Science & Engineering
  2.   Click on WorkflowsLeft nav Workflows selected
  3.  Click on a Job Name and find the Compute in the left panelScreen Shot 2022-07-05 at 10.24.37 AM
  4. Click the Swap button
  5. Select an existing Jobs Cluster (if available) or click `New job cluster` to create a new Jobs ClusterScreen Shot 2022-07-05 at 10.24.46 AM

You can also use the Jobs API. The job_clusters object lets you partially update a list of job cluster specifications that can be shared and reused by tasks of this job.

Learn more

Drop your questions, feedback and tips below! 👇