cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Revert cluster DBR version to last DBR

ayushmangal72
New Contributor

Hi Team,

We have updated our clusters DBR version, later we got to know that some of our jobs started failing, now we wanted to revert to DBR version to the previos one only but we forgot the DBR version on which job was running fine.

Is there any way to find that out?

2 ACCEPTED SOLUTIONS

Accepted Solutions

adhi_databricks
New Contributor III

 

Hey @ayushmangal72 , try using the Databricks Job Run API (/api/2.2/jobs/runs/list) to fetch older run IDs for the job.

Once you have the run_id, make a request to the API at /api/2.2/jobs/runs/get. You'll be able to find the DBR version in the API response (I’ve provided a sample response where the DBR version can be found).

"job_clusters": [
    {
      "job_cluster_key": "auto_scaling_cluster",
      "new_cluster": {
        "autoscale": {
          "max_workers": 16,
          "min_workers": 2
        },
        "node_type_id": null,
        "spark_conf": {
          "spark.speculation": true
        },
        "spark_version": "7.3.x-scala2.12"
      }
    }
  ],
 

View solution in original post

ayushmangal72
New Contributor

Thank you for your reply, I also found an another solution, checked the event_logs and there old DBR versions was mentioned.

View solution in original post

2 REPLIES 2

adhi_databricks
New Contributor III

 

Hey @ayushmangal72 , try using the Databricks Job Run API (/api/2.2/jobs/runs/list) to fetch older run IDs for the job.

Once you have the run_id, make a request to the API at /api/2.2/jobs/runs/get. You'll be able to find the DBR version in the API response (I’ve provided a sample response where the DBR version can be found).

"job_clusters": [
    {
      "job_cluster_key": "auto_scaling_cluster",
      "new_cluster": {
        "autoscale": {
          "max_workers": 16,
          "min_workers": 2
        },
        "node_type_id": null,
        "spark_conf": {
          "spark.speculation": true
        },
        "spark_version": "7.3.x-scala2.12"
      }
    }
  ],
 

ayushmangal72
New Contributor

Thank you for your reply, I also found an another solution, checked the event_logs and there old DBR versions was mentioned.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now