<?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 Troubleshooting Azure Databricks Cluster Pools &amp;amp; spot_bid_max_price Validation Error in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141319#M51694</link>
    <description>&lt;P class=""&gt;&lt;SPAN&gt;Hope you’re doing well!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I’m reaching out for some guidance on an issue I’ve encountered while setting up&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Azure Databricks Cluster Pools&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to reduce cluster spin-up and scale times for our jobs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Background:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To optimize job execution wait times, I’ve created a cluster pool and a new cluster policy (based on our Job Compute configuration) with the&amp;nbsp;&lt;/SPAN&gt;InstancePoolId&lt;SPAN&gt;&amp;nbsp;specified. The goal is to ensure all jobs launched under this policy utilize the pool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Issue:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When attaching a job to this new policy, I’m facing the following validation error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cluster validation error: Validation failed for azure_attributes.spot_bid_max_price from pool, the value must be present.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;What I’ve tried so far:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;I reviewed the&amp;nbsp;&lt;/SPAN&gt;azure_attributes.spot_bid_max_price&lt;SPAN&gt;&amp;nbsp;parameter, which is optional and controls the max price for spot instances.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;In our default Job Compute policy, this property is hidden and set to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;($100/hr per CPU).&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Based on documentation, I attempted to set&amp;nbsp;&lt;/SPAN&gt;azure_attributes.spot_bid_max_price = -1&lt;SPAN&gt;&amp;nbsp;in the cluster policy (to indicate no max price limit), but the error persists.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;It seems the issue might be related to how this property is inherited or validated at the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;pool level&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, but I haven’t been able to resolve it yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Could you please help with the following:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Are there specific steps to configure&amp;nbsp;&lt;/SPAN&gt;spot_bid_max_price&lt;SPAN&gt;&amp;nbsp;at the pool level to align with the cluster policy?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Is there a known workaround or best practice for defining this property when using instance pools?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Would you recommend switching the pool to use on-demand instances instead to avoid spot-related validation?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Sat, 06 Dec 2025 16:24:02 GMT</pubDate>
    <dc:creator>singhanuj2803</dc:creator>
    <dc:date>2025-12-06T16:24:02Z</dc:date>
    <item>
      <title>Troubleshooting Azure Databricks Cluster Pools &amp; spot_bid_max_price Validation Error</title>
      <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141319#M51694</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hope you’re doing well!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I’m reaching out for some guidance on an issue I’ve encountered while setting up&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Azure Databricks Cluster Pools&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to reduce cluster spin-up and scale times for our jobs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Background:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To optimize job execution wait times, I’ve created a cluster pool and a new cluster policy (based on our Job Compute configuration) with the&amp;nbsp;&lt;/SPAN&gt;InstancePoolId&lt;SPAN&gt;&amp;nbsp;specified. The goal is to ensure all jobs launched under this policy utilize the pool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Issue:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When attaching a job to this new policy, I’m facing the following validation error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cluster validation error: Validation failed for azure_attributes.spot_bid_max_price from pool, the value must be present.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;What I’ve tried so far:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;I reviewed the&amp;nbsp;&lt;/SPAN&gt;azure_attributes.spot_bid_max_price&lt;SPAN&gt;&amp;nbsp;parameter, which is optional and controls the max price for spot instances.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;In our default Job Compute policy, this property is hidden and set to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;($100/hr per CPU).&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Based on documentation, I attempted to set&amp;nbsp;&lt;/SPAN&gt;azure_attributes.spot_bid_max_price = -1&lt;SPAN&gt;&amp;nbsp;in the cluster policy (to indicate no max price limit), but the error persists.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;It seems the issue might be related to how this property is inherited or validated at the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;pool level&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, but I haven’t been able to resolve it yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN&gt;Could you please help with the following:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Are there specific steps to configure&amp;nbsp;&lt;/SPAN&gt;spot_bid_max_price&lt;SPAN&gt;&amp;nbsp;at the pool level to align with the cluster policy?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Is there a known workaround or best practice for defining this property when using instance pools?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Would you recommend switching the pool to use on-demand instances instead to avoid spot-related validation?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 06 Dec 2025 16:24:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141319#M51694</guid>
      <dc:creator>singhanuj2803</dc:creator>
      <dc:date>2025-12-06T16:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Azure Databricks Cluster Pools &amp; spot_bid_max_price Validation Error</title>
      <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141321#M51695</link>
      <description>&lt;P&gt;1. Explicitly define spot_bid_max_price in the instance pool&lt;/P&gt;&lt;P&gt;If your pool uses Spot instances, check that the pool configuration includes a valid value.&lt;/P&gt;&lt;P&gt;How to check:&lt;/P&gt;&lt;P&gt;Go to Compute → Instance Pools&lt;/P&gt;&lt;P&gt;Edit the pool&lt;/P&gt;&lt;P&gt;Confirm that spot_bid_max_price is visible and set&lt;/P&gt;&lt;P&gt;If it’s not set, add:&lt;/P&gt;&lt;P&gt;spot_bid_max_price = 100&lt;/P&gt;&lt;P&gt;or whatever value your organization prefers.&lt;/P&gt;&lt;P&gt;2. Override spot_bid_max_price in the cluster policy&lt;/P&gt;&lt;P&gt;If the pool does not enforce the value, the policy must.&lt;/P&gt;&lt;P&gt;Example (fixed value):&lt;/P&gt;&lt;P&gt;"azure_attributes.spot_bid_max_price": {&lt;/P&gt;&lt;P&gt;"type": "fixed",&lt;/P&gt;&lt;P&gt;"value": 100&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Example (allow a range):&lt;/P&gt;&lt;P&gt;"azure_attributes.spot_bid_max_price": {&lt;/P&gt;&lt;P&gt;"type": "range",&lt;/P&gt;&lt;P&gt;"minValue": 0,&lt;/P&gt;&lt;P&gt;"maxValue": 100&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;This ensures the cluster always satisfies the required attribute.&lt;/P&gt;&lt;P&gt;3. Remove spot configuration from the pool and let the policy control it&lt;/P&gt;&lt;P&gt;If the pool has conflicting spot settings, you can simplify:&lt;/P&gt;&lt;P&gt;Edit the instance pool&lt;/P&gt;&lt;P&gt;Remove any explicit spot_bid_max_price&lt;/P&gt;&lt;P&gt;Set the correct value only in the cluster policy&lt;/P&gt;&lt;P&gt;This avoids double-definition.&lt;/P&gt;&lt;P&gt;4. Check Databricks Runtime version and policy behavior&lt;/P&gt;&lt;P&gt;Older DBR versions sometimes behave differently with inherited policy fields.&lt;/P&gt;&lt;P&gt;If possible:&lt;/P&gt;&lt;P&gt;Use DBR 11.x or newer&lt;/P&gt;&lt;P&gt;Test with a simplified policy first (no hidden attributes)&lt;/P&gt;&lt;P&gt;Then re-apply constraints gradually&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 16:36:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141321#M51695</guid>
      <dc:creator>Poorva21</dc:creator>
      <dc:date>2025-12-06T16:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Azure Databricks Cluster Pools &amp; spot_bid_max_price Validation Error</title>
      <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141329#M51697</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Below is the cluster policy JSON, with all possible fixes I have applied however issue persists. Changes clearly highlighted in comments&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"cluster_type": {&lt;BR /&gt;"type": "fixed",&lt;BR /&gt;"value": "job"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"spark_conf.spark.databricks.cluster.profile": {&lt;BR /&gt;"type": "forbidden",&lt;BR /&gt;"hidden": true&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"spark_version": {&lt;BR /&gt;"type": "unlimited",&lt;BR /&gt;"defaultValue": "auto:latest-lts"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;// FIX #2 — node_type_id must be forbidden when using instance pools&lt;BR /&gt;"node_type_id": {&lt;BR /&gt;"type": "forbidden", // &amp;lt;-- CHANGED: was "unlimited"&lt;BR /&gt;"hidden": true // &amp;lt;-- Added to avoid UI prompts&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"num_workers": {&lt;BR /&gt;"type": "unlimited",&lt;BR /&gt;"defaultValue": 4,&lt;BR /&gt;"isOptional": true&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"azure_attributes.availability": {&lt;BR /&gt;"type": "unlimited",&lt;BR /&gt;"defaultValue": "ON_DEMAND_AZURE"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;// FIX #1 — spot_bid_max_price must NOT be hidden AND must be explicitly set&lt;BR /&gt;"azure_attributes.spot_bid_max_price": {&lt;BR /&gt;"type": "fixed",&lt;BR /&gt;"value": -1, // &amp;lt;-- same value, but valid only if exposed&lt;BR /&gt;"hidden": false // &amp;lt;-- CHANGED: was hidden by default&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;// Using your existing pool&lt;BR /&gt;"instance_pool_id": {&lt;BR /&gt;"type": "fixed",&lt;BR /&gt;"value": "0716-064827-deft298-pool-xzsz66cy",&lt;BR /&gt;"hidden": true&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;// Driver also uses the pool&lt;BR /&gt;"driver_instance_pool_id": {&lt;BR /&gt;"type": "fixed",&lt;BR /&gt;"value": "0716-064827-deft298-pool-xzsz66cy",&lt;BR /&gt;"hidden": true&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"autoscale.min_workers": {&lt;BR /&gt;"type": "unlimited",&lt;BR /&gt;"defaultValue": 1&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;"autoscale.max_workers": {&lt;BR /&gt;"type": "unlimited",&lt;BR /&gt;"defaultValue": 6&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 16:44:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141329#M51697</guid>
      <dc:creator>singhanuj2803</dc:creator>
      <dc:date>2025-12-06T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Azure Databricks Cluster Pools &amp; spot_bid_max_price Validation Error</title>
      <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141330#M51698</link>
      <description>&lt;P&gt;Possible reasons:&lt;/P&gt;&lt;P&gt;1. Setting spot_bid_max_price = -1 is not accepted by Azure pools&lt;/P&gt;&lt;P&gt;Azure Databricks only accepts:&lt;/P&gt;&lt;P&gt;0 → on-demand only&lt;/P&gt;&lt;P&gt;positive numbers → max spot price&lt;/P&gt;&lt;P&gt;-1 is allowed in cluster policies, but not inside pools, so validation never completes.&lt;/P&gt;&lt;P&gt;2. Pools always override cluster policy spot settings&lt;/P&gt;&lt;P&gt;Instance pools always dictate:&lt;/P&gt;&lt;P&gt;VM type (Spot / On-demand)&lt;/P&gt;&lt;P&gt;spot bid price&lt;/P&gt;&lt;P&gt;node type&lt;/P&gt;&lt;P&gt;Cluster policies cannot override these.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 16:50:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141330#M51698</guid>
      <dc:creator>Poorva21</dc:creator>
      <dc:date>2025-12-06T16:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Azure Databricks Cluster Pools &amp; spot_bid_max_price Validation Error</title>
      <link>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141331#M51699</link>
      <description>&lt;P&gt;Thanks for commenting.&amp;nbsp;I followed your suggestion and In my Databricks Workspace I went to Compute → Instance Pools but I cannot locate spot_bid_max_price configuration&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 17:15:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/troubleshooting-azure-databricks-cluster-pools-amp-spot-bid-max/m-p/141331#M51699</guid>
      <dc:creator>singhanuj2803</dc:creator>
      <dc:date>2025-12-06T17:15:22Z</dc:date>
    </item>
  </channel>
</rss>

