<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How Can I update the DBR versions of all my jobs in one go? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-i-update-the-dbr-versions-of-all-my-jobs-in-one-go/m-p/19881#M13396</link>
    <description>&lt;P&gt;I keep it a point to use the latest DBR versions for my workloads and mostly we leverage those new features. But I have 300 jobs on the Databricks workspace and updating the DBR versions for each job manually is difficult to do. Any quick hack&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 13:08:59 GMT</pubDate>
    <dc:creator>brickster_2018</dc:creator>
    <dc:date>2021-06-25T13:08:59Z</dc:date>
    <item>
      <title>How Can I update the DBR versions of all my jobs in one go?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-update-the-dbr-versions-of-all-my-jobs-in-one-go/m-p/19881#M13396</link>
      <description>&lt;P&gt;I keep it a point to use the latest DBR versions for my workloads and mostly we leverage those new features. But I have 300 jobs on the Databricks workspace and updating the DBR versions for each job manually is difficult to do. Any quick hack&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 13:08:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-update-the-dbr-versions-of-all-my-jobs-in-one-go/m-p/19881#M13396</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-25T13:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I update the DBR versions of all my jobs in one go?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-update-the-dbr-versions-of-all-my-jobs-in-one-go/m-p/19882#M13397</link>
      <description>&lt;P&gt;Below code snippet can be helpful if you are using Databricks CLI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;for jobid in `databricks jobs list | awk '{print $1}'`;
 do databricks jobs get --job-id $jobid | jq .settings &amp;gt; /tmp/jobs/$jobid.json; done
 
sed -i 's/"spark_version": ".*"/"spark_version": "6.4.x-scala2.11"/g' *
 
for jobid in `databricks jobs list | awk '{print $1}'`; do
databricks jobs reset --job-id $jobid --json-file /tmp/jobs/$jobid.json;
done&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 13:10:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-update-the-dbr-versions-of-all-my-jobs-in-one-go/m-p/19882#M13397</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-25T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

