<?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 call a few child notebooks from master notebook parallelly? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20416#M13769</link>
    <description>&lt;P&gt;Hi @andrew li​&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do this using scala or python constructs using threads and futures.&lt;/P&gt;&lt;P&gt;You can &lt;B&gt;download and import &lt;/B&gt;the notebook archive from this link. It has the function to run notebooks parallelly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" alt="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" target="_blank"&gt;&lt;B&gt;&lt;/B&gt;&lt;/A&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" target="test_blank"&gt;https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After that, based on your preference, set the number of parallel notebooks to be run using &lt;B&gt;numNotebooksInParallel &lt;/B&gt;variable in &lt;B&gt;parallel-notebooks&lt;/B&gt; notebook .&lt;/P&gt;&lt;P&gt;Once done, you can call the parallelNotebooks function to run your notebooks parallelly. For examples on how to do that, refer &lt;B&gt;Concurrent Notebooks&lt;/B&gt; notebook in that downloaded archive.&lt;/P&gt;&lt;P&gt;Be careful not to crash your driver by providing too many parallel notebooks.&lt;/P&gt;&lt;P&gt;Hope this helps.. Cheers.&lt;/P&gt;</description>
    <pubDate>Sun, 27 Nov 2022 14:20:14 GMT</pubDate>
    <dc:creator>UmaMahesh1</dc:creator>
    <dc:date>2022-11-27T14:20:14Z</dc:date>
    <item>
      <title>How to call a few child notebooks from master notebook parallelly?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20414#M13767</link>
      <description>&lt;P&gt; Planning using dbutils.notebook.run() to call all the child notebooks in the master notebook, but they are executed sequentially.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 03:50:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20414#M13767</guid>
      <dc:creator>andrew0117</dc:creator>
      <dc:date>2022-11-27T03:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a few child notebooks from master notebook parallelly?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20415#M13768</link>
      <description>&lt;P&gt;Hi @andrew li​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 06:32:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20415#M13768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-27T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a few child notebooks from master notebook parallelly?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20416#M13769</link>
      <description>&lt;P&gt;Hi @andrew li​&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do this using scala or python constructs using threads and futures.&lt;/P&gt;&lt;P&gt;You can &lt;B&gt;download and import &lt;/B&gt;the notebook archive from this link. It has the function to run notebooks parallelly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" alt="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" target="_blank"&gt;&lt;B&gt;&lt;/B&gt;&lt;/A&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently" target="test_blank"&gt;https://docs.databricks.com/notebooks/notebook-workflows.html#run-multiple-notebooks-concurrently&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After that, based on your preference, set the number of parallel notebooks to be run using &lt;B&gt;numNotebooksInParallel &lt;/B&gt;variable in &lt;B&gt;parallel-notebooks&lt;/B&gt; notebook .&lt;/P&gt;&lt;P&gt;Once done, you can call the parallelNotebooks function to run your notebooks parallelly. For examples on how to do that, refer &lt;B&gt;Concurrent Notebooks&lt;/B&gt; notebook in that downloaded archive.&lt;/P&gt;&lt;P&gt;Be careful not to crash your driver by providing too many parallel notebooks.&lt;/P&gt;&lt;P&gt;Hope this helps.. Cheers.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 14:20:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20416#M13769</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-11-27T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a few child notebooks from master notebook parallelly?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20417#M13770</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by using thread, all the jobs running child notebook are sharing the same cluster on which the master notebook is running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 21:37:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20417#M13770</guid>
      <dc:creator>andrew0117</dc:creator>
      <dc:date>2022-11-28T21:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a few child notebooks from master notebook parallelly?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20418#M13771</link>
      <description>&lt;P&gt;Hi @andrew li​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, They do run on the cluster on which the master notebook is running. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically, we are multithreading the&amp;nbsp;&lt;B&gt;Spark&lt;/B&gt;&amp;nbsp;driver with&amp;nbsp;&lt;B&gt;Futures&lt;/B&gt;&amp;nbsp;to enable parallel job submission. &lt;/P&gt;&lt;P&gt;You can check out more on threads and futures for deeper understanding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Do mark the above as the best answer if it helped. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 05:26:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-call-a-few-child-notebooks-from-master-notebook/m-p/20418#M13771</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-11-29T05:26:44Z</dc:date>
    </item>
  </channel>
</rss>

