<?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 asset bundles and compute policies in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93123#M38621</link>
    <description>&lt;P&gt;Did anyone succeed in using already existing compute policies (created using the UI) in asset bundles for creating a job?&lt;BR /&gt;I defined the policy_id in the resources/job yml for the job_cluster, but when deploying I get errors saying spark version is not defined (this is defined in the policy), or other missing parameters (all defined in the policy).&lt;BR /&gt;So it seems that the policy is not fetched or applied.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 13:32:31 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2024-10-08T13:32:31Z</dc:date>
    <item>
      <title>asset bundles and compute policies</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93123#M38621</link>
      <description>&lt;P&gt;Did anyone succeed in using already existing compute policies (created using the UI) in asset bundles for creating a job?&lt;BR /&gt;I defined the policy_id in the resources/job yml for the job_cluster, but when deploying I get errors saying spark version is not defined (this is defined in the policy), or other missing parameters (all defined in the policy).&lt;BR /&gt;So it seems that the policy is not fetched or applied.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 13:32:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93123#M38621</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-10-08T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: asset bundles and compute policies</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93126#M38622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/14792"&gt;@-werners-&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I think you ran into the same kind of issue as the others in below discussion.&amp;nbsp; There is some ongoing issue with&lt;SPAN&gt;&amp;nbsp;TF provider, you can take a look at github thread:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/databricks/cli/issues/1546" target="_blank" rel="noopener"&gt;DAB deployment fails with `Error: cannot create job: NumWorkers could be 0 only for SingleNode clusters` · Issue #1546 · databricks/cli · GitHub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 13:52:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93126#M38622</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-10-08T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: asset bundles and compute policies</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93130#M38624</link>
      <description>&lt;P&gt;It looks like it, but I also get errors on non singlenode clusters.&lt;BR /&gt;But there might be an underlying issue with policy settings not being applied.&lt;BR /&gt;Tnx for the link though.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:06:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93130#M38624</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-10-08T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: asset bundles and compute policies</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93235#M38660</link>
      <description>&lt;P&gt;So I figured it out.&lt;BR /&gt;You can actually refer existing cluster policies, but I made the mistake thinking all cluster config was added automatically by doing that.&lt;BR /&gt;In fact you still have to add some cluster config in the resources yaml:&lt;/P&gt;&lt;P&gt;- spark_version&lt;BR /&gt;- spark_conf + custom_tags (for singlenode clusters, see link Szymon posted)&lt;BR /&gt;- node_type_id + driver_type_id&lt;BR /&gt;When adding those in the yaml, deployment was possible.&lt;/P&gt;&lt;P&gt;I don't know why it works like it does, perhaps it is linked to the policy definition (f.e. optional attributes in the policy), but it would be nice if there was documentation on the requirements here.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 07:04:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundles-and-compute-policies/m-p/93235#M38660</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2024-10-09T07:04:14Z</dc:date>
    </item>
  </channel>
</rss>

