<?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 Re: How to find Databricks runtime version of the cluster in an init script in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18580#M12355</link>
    <description>&lt;P&gt;It's set as an environment variable called `DATABRICKS_RUNTIME_VERSION`&lt;/P&gt;&lt;P&gt;In your init scripts, you just need to add a line to display or save the info (see python example below):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import os
print("DATABRICKS_RUNTIME_VERSION:",os.environ.get('DATABRICKS_RUNTIME_VERSION',None))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 22:37:39 GMT</pubDate>
    <dc:creator>Mooune_DBU</dc:creator>
    <dc:date>2021-06-25T22:37:39Z</dc:date>
    <item>
      <title>How to find Databricks runtime version of the cluster in an init script</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18579#M12354</link>
      <description />
      <pubDate>Fri, 25 Jun 2021 22:13:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18579#M12354</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-25T22:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Databricks runtime version of the cluster in an init script</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18580#M12355</link>
      <description>&lt;P&gt;It's set as an environment variable called `DATABRICKS_RUNTIME_VERSION`&lt;/P&gt;&lt;P&gt;In your init scripts, you just need to add a line to display or save the info (see python example below):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import os
print("DATABRICKS_RUNTIME_VERSION:",os.environ.get('DATABRICKS_RUNTIME_VERSION',None))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 22:37:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18580#M12355</guid>
      <dc:creator>Mooune_DBU</dc:creator>
      <dc:date>2021-06-25T22:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Databricks runtime version of the cluster in an init script</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18581#M12356</link>
      <description>&lt;P&gt;I used it databricks cluster with custom docker image. it gives that "DATABRICKS_RUNTIME_VERSION: None"&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 07:04:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/18581#M12356</guid>
      <dc:creator>Djayashanka</dc:creator>
      <dc:date>2023-03-02T07:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Databricks runtime version of the cluster in an init script</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/88888#M37654</link>
      <description>&lt;P&gt;I've also run into the same issue, customised docker image does not give&amp;nbsp;&lt;SPAN&gt;DATABRICKS_RUNTIME_VERSION as env. I believe there are still many issues in how customised docker image is used in databricks cluster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone from databricks help answer it?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 14:57:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-find-databricks-runtime-version-of-the-cluster-in-an-init/m-p/88888#M37654</guid>
      <dc:creator>Hugh_Ku</dc:creator>
      <dc:date>2024-09-06T14:57:58Z</dc:date>
    </item>
  </channel>
</rss>

