<?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: Restrictions on setting environment variables in Compute Policies in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/restrictions-on-setting-environment-variables-in-compute/m-p/93923#M2054</link>
    <description>&lt;P&gt;This is because you use Shared access mode.&lt;BR /&gt;This enables multiple users to use the cluster simultaneously.&lt;BR /&gt;However, there are features that do not work on these Shared access mode clusters:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/compute/access-mode-limitations.html#shared-access-mode-limitations-on-unity-catalog" target="_blank"&gt;https://docs.databricks.com/en/compute/access-mode-limitations.html#shared-access-mode-limitations-on-unity-catalog&lt;/A&gt;&lt;BR /&gt;The limitation about backticks in env vars is not mentioned but the error message is clear: it is not supported.&lt;BR /&gt;To overcome this limitation, use Single user as access mode.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 15:14:51 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2024-10-14T15:14:51Z</dc:date>
    <item>
      <title>Restrictions on setting environment variables in Compute Policies</title>
      <link>https://community.databricks.com/t5/administration-architecture/restrictions-on-setting-environment-variables-in-compute/m-p/93803#M2052</link>
      <description>&lt;P&gt;As recommended by Databricks, we are trying to use Compute Policies to set environment variables, which are used by our notebooks, across clusters.&lt;BR /&gt;&lt;BR /&gt;However, when specifying a JSON string as env var, we are getting this error upon applying the policy to a shared cluster:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;EM&gt;Cannot update compute configuration:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$$, \, ", ', | and backticks are not allowed in the environment variable value for Unity Catalog shared clusters. Please use single user clusters instead.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Where is this error coming from? It's not documented anywhere, and seems arbitrary.&amp;nbsp;&lt;BR /&gt;What are possible ways around this?&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Oct 2024 08:58:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/restrictions-on-setting-environment-variables-in-compute/m-p/93803#M2052</guid>
      <dc:creator>tcmx</dc:creator>
      <dc:date>2024-10-14T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on setting environment variables in Compute Policies</title>
      <link>https://community.databricks.com/t5/administration-architecture/restrictions-on-setting-environment-variables-in-compute/m-p/93923#M2054</link>
      <description>&lt;P&gt;This is because you use Shared access mode.&lt;BR /&gt;This enables multiple users to use the cluster simultaneously.&lt;BR /&gt;However, there are features that do not work on these Shared access mode clusters:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/en/compute/access-mode-limitations.html#shared-access-mode-limitations-on-unity-catalog" target="_blank"&gt;https://docs.databricks.com/en/compute/access-mode-limitations.html#shared-access-mode-limitations-on-unity-catalog&lt;/A&gt;&lt;BR /&gt;The limitation about backticks in env vars is not mentioned but the error message is clear: it is not supported.&lt;BR /&gt;To overcome this limitation, use Single user as access mode.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 15:14:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/restrictions-on-setting-environment-variables-in-compute/m-p/93923#M2054</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-10-14T15:14:51Z</dc:date>
    </item>
  </channel>
</rss>

