<?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: bundle run fails with [UC_NOT_ENABLED] in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95285#M39070</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/109462"&gt;@T0M&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you have Unity Catalog enabled workspace? The error indicates that you're trying to use DAB on workspace without UC enabled.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 14:04:54 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-10-21T14:04:54Z</dc:date>
    <item>
      <title>bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95283#M39068</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to run my first databricks asset bundle but it always fails with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster. SQLSTATE: 56038&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone ecountered this error when running asset bundles or does anyone know how to fix it?&lt;/P&gt;&lt;P&gt;the yml goes like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: hello_world

workspace:
  host: https://...

variables: 
  spark_version:
    description: "The version of Spark to use."
    default: 15.4.x-scala2.12

resources:
  jobs:
    some-task:
      name: "[${bundle.target}] some_task"
      tasks:
        - task_key: task_loop
          for_each_task: 
            inputs: "[{\"par1\": \"hello\", \"par2\": \"world\"}, {\"par1\": \"spam\", \"par2\": \"eggs\"}]"
            task:
              task_key: some_task_key
              job_cluster_key: job-cluster
              notebook_task:
                notebook_path: notebooks/nb
                base_parameters: {
                  "par1": "{{input.par1}}",
                  "par2": "{{input.par2}}"
                }
      job_clusters:
        - job_cluster_key: job-cluster
          new_cluster:
            spark_version: ${var.spark_version}
            num_workers: 1
            node_type_id: e2-highmem-2
            spark_conf: 
              "spark.databricks.catalog.enabled": "true"

targets:
  dev:
    mode: development
    default: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;running the bundle with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle run -t dev some_task_key&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:52:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95283#M39068</guid>
      <dc:creator>T0M</dc:creator>
      <dc:date>2024-10-21T13:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95285#M39070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/109462"&gt;@T0M&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you have Unity Catalog enabled workspace? The error indicates that you're trying to use DAB on workspace without UC enabled.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 14:04:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95285#M39070</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-10-21T14:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95300#M39072</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;, thanks for your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I assume so, because I am using the Unity Catalog within this workspace in notebooks and workflows (writing/reading delta tables etc.) and `&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;SPAN&gt; current_metastore();&lt;/SPAN&gt;`&amp;nbsp;&lt;A href="https://docs.gcp.databricks.com/en/data-governance/unity-catalog/get-started.html#run-a-sql-query-to-confirm-unity-catalog-enablement" target="_self"&gt;[source]&lt;/A&gt;&amp;nbsp; gives me a positive return (when running in a random notebook within this workspace).&lt;/P&gt;&lt;P&gt;That's the reason I am so confused and seeking help here.&lt;/P&gt;&lt;P&gt;But unfortunatly I am not the admin, therefore no access to the account console.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 14:52:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95300#M39072</guid>
      <dc:creator>T0M</dc:creator>
      <dc:date>2024-10-21T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95305#M39074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/109462"&gt;@T0M&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Could you add this line to your job cluster definition:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;            data_security_mode: SINGLE_USER&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I believe it is not about workspace configuration, but about cluster configuration.&lt;BR /&gt;&lt;BR /&gt;As &lt;A href="https://docs.databricks.com/en/admin/clusters/policy-definition.html" target="_self"&gt;per documentation&lt;/A&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filipniziol_0-1729522885753.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12134iA32DDED90E0557DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="filipniziol_0-1729522885753.png" alt="filipniziol_0-1729522885753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 15:01:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95305#M39074</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-21T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95415#M39094</link>
      <description>&lt;P&gt;Many Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/117376"&gt;@filipniziol&lt;/a&gt;&amp;nbsp;! That solved my problem&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:33:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95415#M39094</guid>
      <dc:creator>T0M</dc:creator>
      <dc:date>2024-10-22T06:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: bundle run fails with [UC_NOT_ENABLED]</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95423#M39099</link>
      <description>&lt;P&gt;Perfect!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 07:24:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-run-fails-with-uc-not-enabled/m-p/95423#M39099</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-22T07:24:26Z</dc:date>
    </item>
  </channel>
</rss>

