<?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 Impacts of running multiple jobs in parallel that refers the same notebook in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9484#M4835</link>
    <description>&lt;P&gt;Can I run multiple jobs(for example: 100+) in parallel that refers the same notebook? I supply each job with a different parameter. If we can do this,  what would be the impact? (for example: reliability, performance, troubleshooting etc. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Notebook: &lt;/B&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;table_name = dbutils.widgets.get("table_name")
&amp;nbsp;
df = (spark.read.format("parquet").load(f's3://data_source_bucket_name/{table_name}/'))
&amp;nbsp;
&amp;lt;process  the data &amp;gt;
&amp;nbsp;
df.write.saveAsTable(table_name,mode="overwrite")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 1 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 2 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_2'&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 100 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_100'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Explanation&lt;/B&gt; : Read parquet files from the table folder and load into delta table after processing. The processing steps are the same for all the tables.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 15:26:16 GMT</pubDate>
    <dc:creator>Murthy1</dc:creator>
    <dc:date>2023-02-13T15:26:16Z</dc:date>
    <item>
      <title>Impacts of running multiple jobs in parallel that refers the same notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9484#M4835</link>
      <description>&lt;P&gt;Can I run multiple jobs(for example: 100+) in parallel that refers the same notebook? I supply each job with a different parameter. If we can do this,  what would be the impact? (for example: reliability, performance, troubleshooting etc. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Notebook: &lt;/B&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;table_name = dbutils.widgets.get("table_name")
&amp;nbsp;
df = (spark.read.format("parquet").load(f's3://data_source_bucket_name/{table_name}/'))
&amp;nbsp;
&amp;lt;process  the data &amp;gt;
&amp;nbsp;
df.write.saveAsTable(table_name,mode="overwrite")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 1 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 2 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_2'&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;B&gt;Job 100 Parameters:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table_name = 'Table_100'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Explanation&lt;/B&gt; : Read parquet files from the table folder and load into delta table after processing. The processing steps are the same for all the tables.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 15:26:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9484#M4835</guid>
      <dc:creator>Murthy1</dc:creator>
      <dc:date>2023-02-13T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Impacts of running multiple jobs in parallel that refers the same notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9485#M4836</link>
      <description>&lt;P&gt;Hi @Murthy Ramalingam​&amp;nbsp;, you can create multiple jobs referencing the same notebook code without any issue. We generally see issues when writing to the same location or table . However, in your case you will be passing different tables to these jobs, so I expect it to run fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For troubleshooting purposes, it is always advisable to use job cluster for different jobs so that the logs for each job run are accessible separately.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 15:56:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9485#M4836</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-13T15:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Impacts of running multiple jobs in parallel that refers the same notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9486#M4837</link>
      <description>&lt;P&gt;When you run a job with a notebook, it doesn't go in and hit "run all" in the notebook but makes a copy of it to run.  &lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 19:17:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9486#M4837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-13T19:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Impacts of running multiple jobs in parallel that refers the same notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9487#M4838</link>
      <description>&lt;P&gt;Hi @Murthy Ramalingam​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&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>Fri, 17 Feb 2023 05:26:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/impacts-of-running-multiple-jobs-in-parallel-that-refers-the/m-p/9487#M4838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-17T05:26:18Z</dc:date>
    </item>
  </channel>
</rss>

