<?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: Cluster termination issue in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/81948#M36455</link>
    <description>&lt;P&gt;If you set the "Terminate after" setting to 0 minutes during the creation of an all-purpose compute, it means that the auto-termination feature will be turned off. This is because the "Terminate after" setting is used to specify an inactivity period in minutes after which you want the compute to terminate. If the difference between the current time and the last command run on the compute is more than the inactivity period specified, Databricks automatically terminates that compute. Therefore, by setting it to 0, you are essentially opting out of auto-termination. This means that the compute will continue to run until it is manually terminated, regardless of whether it is active or idle. Please note that idle compute continue to accumulate DBU and cloud instance charges during the inactivity period before termination&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/compute/clusters-manage.html#configure-automatic-termination" target="_blank"&gt;https://docs.databricks.com/en/compute/clusters-manage.html#configure-automatic-termination&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am not sure how if the community edition has any restriction on that though.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 01:26:38 GMT</pubDate>
    <dc:creator>NandiniN</dc:creator>
    <dc:date>2024-08-06T01:26:38Z</dc:date>
    <item>
      <title>Cluster termination issue</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/50833#M28911</link>
      <description>&lt;P&gt;I am using Databricks as &lt;SPAN&gt;a Community Edition user with a limited cluster (just 1 Driver&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp;15.3&amp;nbsp;GB Memory,&amp;nbsp;2&amp;nbsp;Cores,&amp;nbsp;1&amp;nbsp;DBU). I am trying to run some custom algorithms for&amp;nbsp;continuous calculations and writing results to the delta table every 15 minutes along with notifying me by email using SMTP protocol. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;The problem is I intend to do calculations let's say for a particular depth (imaging building a&amp;nbsp;hierarchical-deterministic wallet that is represented as a tree) and those calculations may take a few hours or even up to one day. But for some reason, my cluster is being terminated after 1 hour of processing.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I was looking for a solution to similar issues and suggestions like making spark.sql("select 1") just to keep the cluster alive even if I do it as a daemon process never worked for me. Even as I mentioned before I do df.write(...) results to my table but it also doesn't keep the cluster alive enough time.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, I am wondering if is there any solution to my problem and if there is another way to keep the cluster alive or if it is just limited for&amp;nbsp;&lt;SPAN&gt;Community Edition users to do processing on a cluster longer than 1 hour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 19:59:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/50833#M28911</guid>
      <dc:creator>delta_bravo</dc:creator>
      <dc:date>2023-11-10T19:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster termination issue</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/81943#M36454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;, we in the team are wondering what will happen if we put 0 minutes in the "Terminate after" settings of the all-purpose compute. Thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 00:05:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/81943#M36454</guid>
      <dc:creator>chardv</dc:creator>
      <dc:date>2024-08-06T00:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster termination issue</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/81948#M36455</link>
      <description>&lt;P&gt;If you set the "Terminate after" setting to 0 minutes during the creation of an all-purpose compute, it means that the auto-termination feature will be turned off. This is because the "Terminate after" setting is used to specify an inactivity period in minutes after which you want the compute to terminate. If the difference between the current time and the last command run on the compute is more than the inactivity period specified, Databricks automatically terminates that compute. Therefore, by setting it to 0, you are essentially opting out of auto-termination. This means that the compute will continue to run until it is manually terminated, regardless of whether it is active or idle. Please note that idle compute continue to accumulate DBU and cloud instance charges during the inactivity period before termination&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/compute/clusters-manage.html#configure-automatic-termination" target="_blank"&gt;https://docs.databricks.com/en/compute/clusters-manage.html#configure-automatic-termination&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am not sure how if the community edition has any restriction on that though.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 01:26:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-termination-issue/m-p/81948#M36455</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-08-06T01:26:38Z</dc:date>
    </item>
  </channel>
</rss>

