<?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: Keep long-running notebook alive when closing browser in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20710#M1134</link>
    <description>&lt;P&gt;Hey @Eric P​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best? If not, please tell us so we can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 16:37:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-07T16:37:55Z</dc:date>
    <item>
      <title>Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20704#M1128</link>
      <description>&lt;P&gt;I am working with Azure Databricks jupyter notebooks and have time-consuming jobs (complex queries, model training, loops over many items, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I close the browser (or step away for a long time) of some running notebook, even before the cluster time-out time, notebooks and cluster will become idle. When I open the notebook again, it appears as if it the notebook resumes, but it does not continue executing. I'd like to keep the notebook running in the background at night or when I close the browser. Any thoughts ?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 20:24:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20704#M1128</guid>
      <dc:creator>orion216</dc:creator>
      <dc:date>2022-05-12T20:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20705#M1129</link>
      <description>&lt;P&gt;@Eric P​&amp;nbsp;, To keep the cluster active at all times, &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Disable "Automatic termination" &lt;/LI&gt;&lt;LI&gt;create a notebook with simple print &lt;/LI&gt;&lt;LI&gt;"%sql select 1" commands and schedule it to run at regular intervals(avoid scheduling forever) to keep the cluster active all the time.&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;Also, checkout this doc- &lt;A href="https://docs.databricks.com/clusters/clusters-manage.html?&amp;amp;_ga=2.26996221.1323833801.1652117370-1078332075.1651512759&amp;amp;_gac=1.61675614.1652215740.Cj0KCQjwmuiTBhDoARIsAPiv6L-O4RB4dnxsiFsIjzb8cmoOdzvkKkO-a4qCQ6CqgPuQhjDE0j2PfhIaAqPXEALw_wcB#automatic-termination-1" alt="https://docs.databricks.com/clusters/clusters-manage.html?&amp;amp;_ga=2.26996221.1323833801.1652117370-1078332075.1651512759&amp;amp;_gac=1.61675614.1652215740.Cj0KCQjwmuiTBhDoARIsAPiv6L-O4RB4dnxsiFsIjzb8cmoOdzvkKkO-a4qCQ6CqgPuQhjDE0j2PfhIaAqPXEALw_wcB#automatic-termination-1" target="_blank"&gt;https://docs.databricks.com/clusters/clusters-manage.html?&amp;amp;_ga=2.26996221.1323833801.1652117370-1078332075.1651512759&amp;amp;_gac=1.61675614.1652215740.Cj0KCQjwmuiTBhDoARIsAPiv6L-O4RB4dnxsiFsIjzb8cmoOdzvkKkO-a4qCQ6CqgPuQhjDE0j2PfhIaAqPXEALw_wcB#automatic-termination-1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 06:48:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20705#M1129</guid>
      <dc:creator>Aashita</dc:creator>
      <dc:date>2022-05-14T06:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20707#M1131</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;@Aashita Ramteke​&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There is no "Automatic termination". Are you talking about "Terminate after"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1872i451D6581D89ADEB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;2. I look for a more sustainable solution. Your solution requires running secondary script that continuously pings the server and never stops, which translate to cost. I look for something that does not kill the job half-way and keep it alive until completion. It's a simple capability that every platform support. &lt;/P&gt;&lt;P&gt;Does it mean we can never run a time-consuming job or train a model without sitting there looking at the screen overnight ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Kenny.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 20:01:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20707#M1131</guid>
      <dc:creator>orion216</dc:creator>
      <dc:date>2022-05-16T20:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20708#M1132</link>
      <description>&lt;P&gt;I think you should try increasing the inactivity time and if the issue still persists. This should not happen actually @Eric P​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 06:40:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20708#M1132</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-05-26T06:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20709#M1133</link>
      <description>&lt;P&gt;@Eric P​&amp;nbsp;If you want the notebook to be running, why not create and schedule a job for the notebook? &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/databricks/data-engineering/jobs/jobs#--create-a-job" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/data-engineering/jobs/jobs#--create-a-job&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:55:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20709#M1133</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-05-26T14:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Keep long-running notebook alive when closing browser</title>
      <link>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20710#M1134</link>
      <description>&lt;P&gt;Hey @Eric P​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best? If not, please tell us so we can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:37:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/keep-long-running-notebook-alive-when-closing-browser/m-p/20710#M1134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-07T16:37:55Z</dc:date>
    </item>
  </channel>
</rss>

