<?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 Auto termination for clusters, jobs, and delta live tables does not terminate clusters on GCP. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22583#M15484</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Databricks, and I have been trying to understand how auto termination works, but I am unsure if it is a problem based on my configuration or something else. The problem is the same in all cases, the cluster on GCP created by Databricks does not auto-terminate, but on the Databricks side, it looks different in each case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the case of clusters created through the compute interface, I have a single-node cluster (tried multi-node too) that is set to terminate after 2 hours. I spin it up and attach some notebook or a job to it. I wait for the job to finish and after that, I let it idle for more than 2 hours. Although the cluster on Databricks shows that it is terminated, when I go to GCP I still have a rogue cluster running that was created by Databricks. I have no pools, policy, or anything configured and Databricks does not show anything running in All-purpose compute or job compute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the case of Jobs the behavior is the same as above if I set the cluster to run on my running All-Purpose cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the case of delta tables, a Job compute is automatically created, and after the delta tables operation finishes, I let it idle for more than 2 hours (Development environment) and the Job cluster is still running. In this case, I can see it running on Databricks and GCP as well. I tried setting pipelines.clusterShutdown.delay too, but it has no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, the cluster is running until I delete it manually from GCP.  How can I ensure that my cluster gets shut down on GCP properly so I don't get charged?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2022 20:13:12 GMT</pubDate>
    <dc:creator>638555</dc:creator>
    <dc:date>2022-11-13T20:13:12Z</dc:date>
    <item>
      <title>Auto termination for clusters, jobs, and delta live tables does not terminate clusters on GCP.</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22583#M15484</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Databricks, and I have been trying to understand how auto termination works, but I am unsure if it is a problem based on my configuration or something else. The problem is the same in all cases, the cluster on GCP created by Databricks does not auto-terminate, but on the Databricks side, it looks different in each case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the case of clusters created through the compute interface, I have a single-node cluster (tried multi-node too) that is set to terminate after 2 hours. I spin it up and attach some notebook or a job to it. I wait for the job to finish and after that, I let it idle for more than 2 hours. Although the cluster on Databricks shows that it is terminated, when I go to GCP I still have a rogue cluster running that was created by Databricks. I have no pools, policy, or anything configured and Databricks does not show anything running in All-purpose compute or job compute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the case of Jobs the behavior is the same as above if I set the cluster to run on my running All-Purpose cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the case of delta tables, a Job compute is automatically created, and after the delta tables operation finishes, I let it idle for more than 2 hours (Development environment) and the Job cluster is still running. In this case, I can see it running on Databricks and GCP as well. I tried setting pipelines.clusterShutdown.delay too, but it has no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, the cluster is running until I delete it manually from GCP.  How can I ensure that my cluster gets shut down on GCP properly so I don't get charged?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 20:13:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22583#M15484</guid>
      <dc:creator>638555</dc:creator>
      <dc:date>2022-11-13T20:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Auto termination for clusters, jobs, and delta live tables does not terminate clusters on GCP.</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22584#M15485</link>
      <description>&lt;P&gt;Digging more into this, I realized that even if I terminate the cluster on GCP, it gets respawned shortly after automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All clusters on Databricks are terminated, and no job clusters or pools appear either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a rogue GCP Databricks-created cluster running constantly.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 18:26:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22584#M15485</guid>
      <dc:creator>638555</dc:creator>
      <dc:date>2022-11-14T18:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto termination for clusters, jobs, and delta live tables does not terminate clusters on GCP.</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22585#M15486</link>
      <description>&lt;P&gt;Hi @Tilemachos Charalampous​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compute resources in your GCP account might not be the Spark clusters, rather the GKE cluster that Databricks spins up for the Databricks architecture in your account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note in the blue highlight in docs here &lt;A href="https://docs.gcp.databricks.com/administration-guide/account-settings-gcp/workspaces.html#create-and-manage-workspaces-using-the-account-console" alt="https://docs.gcp.databricks.com/administration-guide/account-settings-gcp/workspaces.html#create-and-manage-workspaces-using-the-account-console" target="_blank"&gt;https://docs.gcp.databricks.com/administration-guide/account-settings-gcp/workspaces.html#create-and-manage-workspaces-using-the-account-console&lt;/A&gt; should go into it in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no clusters are running but you still see a Databricks-created GKE cluster, it would most likely be that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 19:04:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22585#M15486</guid>
      <dc:creator>LandanG</dc:creator>
      <dc:date>2022-11-14T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Auto termination for clusters, jobs, and delta live tables does not terminate clusters on GCP.</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22587#M15488</link>
      <description>&lt;P&gt;Hi @Landan George​&amp;nbsp;thanks for the answer. This looks correct. I probably missed it while going over the documentation. Thanks for helping.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 00:12:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-termination-for-clusters-jobs-and-delta-live-tables-does/m-p/22587#M15488</guid>
      <dc:creator>638555</dc:creator>
      <dc:date>2022-11-22T00:12:15Z</dc:date>
    </item>
  </channel>
</rss>

