<?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 identify the mandatory fields of the create clusters API in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/104053#M41651</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/109070"&gt;@guangyi&lt;/a&gt;&amp;nbsp;thanks for your question!&lt;/P&gt;
&lt;P&gt;I understand your concerns. Looking through the docs I could only find a few with the &lt;STRONG&gt;"required"&lt;/STRONG&gt; metadata tag, while most seem to be implicitly assumed, e.g.: singleNode with num_workers 0, and similar requirements.&lt;/P&gt;
&lt;P&gt;It'll be good if you can raise a Support Ticket, or provide this feedback or product improvement suggestion via the Databricks workspace portal.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 10:44:44 GMT</pubDate>
    <dc:creator>VZLA</dc:creator>
    <dc:date>2025-01-03T10:44:44Z</dc:date>
    <item>
      <title>How to identify the mandatory fields of the create clusters API</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/86795#M37338</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After several attempts I found some mandatory fields for cluster creation API: num_workers, spark_version, node_type_id. I’m not finding these fields directly against the API but via job cluster definition in the asset bundle yaml file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I ask the ChatGPT the question and he gave almost the same answer and plus “cluster_name” field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I cannot find the exact information on the API documentation either through “mandatory” or “required” keywords: &lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api/workspace/clusters/create" target="_blank"&gt;&lt;SPAN&gt;https://docs.databricks.com/api/workspace/clusters/create&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 08:29:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/86795#M37338</guid>
      <dc:creator>guangyi</dc:creator>
      <dc:date>2024-08-30T08:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify the mandatory fields of the create clusters API</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/86814#M37340</link>
      <description>&lt;P&gt;&lt;SPAN&gt;And also I found the `defaultValue` in the policy definition not working. Here I give the node_type_id allow list in the policy&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    "node_type_id": {
        "defaultValue": "Standard_D8s_v3",
        "type": "allowlist",
        "values": [
            "Standard_D8s_v3",
            "Standard_D16s_v3"
        ]
    },&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;But when I inherit this policy in the asset bundle and try to create job, it still tell me the the validation failed:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;job_clusters:
        - job_cluster_key: my_job_cluster
          new_cluster:
            policy_id: xxxxxxxxxxxxxxxxxxx&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;cannot create job: INVALID_PARAMETER_VALUE: Unknown node type id&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 09:12:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/86814#M37340</guid>
      <dc:creator>guangyi</dc:creator>
      <dc:date>2024-08-30T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify the mandatory fields of the create clusters API</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/104053#M41651</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/109070"&gt;@guangyi&lt;/a&gt;&amp;nbsp;thanks for your question!&lt;/P&gt;
&lt;P&gt;I understand your concerns. Looking through the docs I could only find a few with the &lt;STRONG&gt;"required"&lt;/STRONG&gt; metadata tag, while most seem to be implicitly assumed, e.g.: singleNode with num_workers 0, and similar requirements.&lt;/P&gt;
&lt;P&gt;It'll be good if you can raise a Support Ticket, or provide this feedback or product improvement suggestion via the Databricks workspace portal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 10:44:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-identify-the-mandatory-fields-of-the-create-clusters-api/m-p/104053#M41651</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2025-01-03T10:44:44Z</dc:date>
    </item>
  </channel>
</rss>

