<?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: Multiple concurrent jobs using interactive cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120231#M46098</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_0-1748265306139.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17130iB5F812B5933EB651/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_0-1748265306139.png" alt="jigar191089_0-1748265306139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_1-1748265321800.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17131i71675609BD2CD9D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_1-1748265321800.png" alt="jigar191089_1-1748265321800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Do note. This libraries are installed using the cluster init script&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 13:15:59 GMT</pubDate>
    <dc:creator>jigar191089</dc:creator>
    <dc:date>2025-05-26T13:15:59Z</dc:date>
    <item>
      <title>Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/119488#M45890</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have notebook in Databricks. This notebook is executed from azure datafactory pipeline having a databricks notebook activity with linkedservice connected to an interactive cluster.&lt;/P&gt;&lt;P&gt;When multiple concurrent runs of this pipeline are created, I am observing that the notebook job is going in some endless loop.&lt;/P&gt;&lt;P&gt;The command where this happens is as below&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;inspect&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;json&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;sys&lt;BR /&gt;&lt;BR /&gt;sys.path.insert(&lt;SPAN&gt;0&lt;/SPAN&gt;, &lt;SPAN&gt;'/dbfs/DataEnabling/Pyspark'&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# import user defined libraries&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;utils &lt;SPAN&gt;import &lt;/SPAN&gt;*&lt;BR /&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;trigger_processing_framework.insert_trigger &lt;SPAN&gt;import &lt;/SPAN&gt;InsertTrigger&lt;BR /&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;trigger_processing_framework.update_trigger &lt;SPAN&gt;import &lt;/SPAN&gt;UpdateTrigger&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Later upon restarting the cluster and trying again for the same scenario, the jobs are completing as per expectation.&lt;/P&gt;&lt;P&gt;Any idea what may have went wrong in the first attempt.&lt;/P&gt;&lt;P&gt;Also when multiple runs are created for same notebook, will each run have it own environment state while running or concurrent jobs will interfere with each other since I am using interactive cluster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:06:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/119488#M45890</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-16T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120027#M46033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/11218"&gt;@jigar191089&lt;/a&gt;, are all the jobs writing to the same location? What is the DBR version you're using? Do you notice any load on the cluster?&lt;/P&gt;
&lt;P&gt;Each run will use its own environment, it won't interfere with each other.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:07:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120027#M46033</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-23T06:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120028#M46034</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/30672"&gt;@nikhilj0421&lt;/a&gt;&amp;nbsp;, the jobs are writing to different location. DBR is 14.3 ML LTS. Not sure, how to check the load. But if you see the above code it is just import statements.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:34:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120028#M46034</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-23T06:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120029#M46035</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/11218"&gt;@jigar191089&lt;/a&gt;,&amp;nbsp;you can monitor the metrics section of the cluster to check the load on the cluster.&amp;nbsp;&lt;BR /&gt;Also, you will see "driver is up but not responsive due to GC" messages in the cluster's event log.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share the stdout.txt and stderr.txt file when the job gets stuck?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:59:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120029#M46035</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-23T06:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120041#M46038</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/30672"&gt;@nikhilj0421&lt;/a&gt;&amp;nbsp;I am not able to attach txt file here. This is the screenshot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_0-1747987870677.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17071i5BEE9C68BBD05DDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_0-1747987870677.png" alt="jigar191089_0-1747987870677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_1-1747987906107.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17072i4514C8689E4DC40C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_1-1747987906107.png" alt="jigar191089_1-1747987906107.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_2-1747987944695.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17073i5482235D65FEA202/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_2-1747987944695.png" alt="jigar191089_2-1747987944695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 08:12:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120041#M46038</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-23T08:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120096#M46058</link>
      <description>&lt;P&gt;Event logs confirm that it isn't because of the driver is under memory pressure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checking the stdout will be very helpful here. Could you please share a screenshot of what you see after Ctrl + C does not work?&lt;/P&gt;
&lt;P&gt;Also, are you seeing any library issue in your stderr or stdout?&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 16:37:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120096#M46058</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-23T16:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120097#M46059</link>
      <description>&lt;P&gt;What libraries are you installing in your cluster?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 16:38:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120097#M46059</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-23T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120221#M46093</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_0-1748260472106.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17129i3F4475D36C490B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_0-1748260472106.png" alt="jigar191089_0-1748260472106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;no observation in stderr and stdout. How can I share the log as only attachment of&amp;nbsp;&lt;SPAN&gt;: jpg, gif, png, pdf. are allowed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 11:55:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120221#M46093</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-26T11:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120222#M46094</link>
      <description>&lt;P&gt;There are few custom build and then few libraries available on PyPi&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 11:56:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120222#M46094</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-26T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120223#M46095</link>
      <description>&lt;P&gt;Can you share the screenshots of the pypi library installed on your cluster?&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 12:22:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120223#M46095</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-26T12:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120225#M46096</link>
      <description>&lt;P&gt;Do you see any attachment option?&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 12:28:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120225#M46096</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-05-26T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120231#M46098</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_0-1748265306139.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17130iB5F812B5933EB651/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_0-1748265306139.png" alt="jigar191089_0-1748265306139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jigar191089_1-1748265321800.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17131i71675609BD2CD9D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jigar191089_1-1748265321800.png" alt="jigar191089_1-1748265321800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Do note. This libraries are installed using the cluster init script&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 13:15:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/120231#M46098</guid>
      <dc:creator>jigar191089</dc:creator>
      <dc:date>2025-05-26T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple concurrent jobs using interactive cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/137450#M50747</link>
      <description>&lt;P&gt;Greetings&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/11218"&gt;@jigar191089&lt;/a&gt;&amp;nbsp;, I did some digging and here are some ideas to think about.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="paragraph"&gt;This smells like a shared-state/import-path issue on an interactive cluster under concurrency.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H3 class="paragraph"&gt;What likely happened&lt;/H3&gt;
&lt;UL&gt;
&lt;LI class="paragraph"&gt;Your notebook imports Python modules from &lt;STRONG&gt;/dbfs&lt;/STRONG&gt; by adding it to &lt;STRONG&gt;sys.path&lt;/STRONG&gt; and then doing imports. DBFS root (dbfs:/ and the /dbfs FUSE mount) isn’t recommended for storing or importing production code; instead Databricks recommends keeping source code as &lt;STRONG&gt;workspace files&lt;/STRONG&gt; (or packaging as wheels and installing as libraries) to avoid reliability and governance pitfalls. Moving code off DBFS reduces odd behaviors under concurrency, including import stalls. Databricks specifically advises against using DBFS root for sensitive/production code and recommends workspace files or Unity Catalog Volumes instead.&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Because your &lt;STRONG&gt;Azure Data Factory&lt;/STRONG&gt; activity points at an existing interactive cluster, concurrent runs were attaching to the same compute. Each run gets its own notebook session, but they still share the cluster’s driver/executors and any compute‑scoped state, so contention or environment mutation at the cluster level can surface as hangs during import (especially when multiple tasks import from the same location on /dbfs at once). For isolation, using a per‑run job cluster is preferred; separate clusters avoid cross‑run interference entirely.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;After the &lt;STRONG&gt;cluster restart&lt;/STRONG&gt;, the Python processes and file-system caches were reset, so subsequent imports worked—consistent with a transient interpreter/path/import cache issue. Resetting the notebook session or cluster is the documented way to clear Python state when things get wedged.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="paragraph"&gt;Will concurrent runs share environment state on an interactive cluster?&lt;/H3&gt;
&lt;DIV class="paragraph"&gt;Short answer: partially.&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Each notebook run has its own session. If you use &lt;STRONG&gt;notebook‑scoped libraries&lt;/STRONG&gt; via %pip, those installs are isolated to that notebook session and do not affect other notebooks, even on the same cluster.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Anything &lt;STRONG&gt;compute‑scoped&lt;/STRONG&gt; (cluster libraries, init scripts, Spark configuration, cached data, etc.) is shared by all notebooks/jobs on that cluster. Installing a library at the cluster level makes it available to all attached notebooks and jobs, which can cause interference across concurrent runs if versions or side effects conflict.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Databricks recommends running with modern access modes (standard/shared) and avoiding legacy “no‑isolation shared.” “Standard access mode” is the recommended default for most workloads.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="paragraph"&gt;Concrete fixes and best practices&lt;/H3&gt;
&lt;DIV class="paragraph"&gt;Adopt as many of these as you can; the first two are the big ones.&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Move code off &lt;STRONG&gt;/dbfs&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;Store Python modules as &lt;STRONG&gt;workspace files&lt;/STRONG&gt; under /Workspace (or in a Git folder/Repos) and import them normally; or package as a &lt;STRONG&gt;wheel (.whl)&lt;/STRONG&gt; and install as a library. Both patterns are recommended over importing from DBFS paths.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Prefer &lt;STRONG&gt;job clusters&lt;/STRONG&gt; for ADF‑triggered runs (or Databricks Workflows), especially when runs can overlap. A new cluster per run eliminates shared-state interference by construction.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;If you must share an interactive cluster:
&lt;UL&gt;
&lt;LI&gt;Use &lt;STRONG&gt;%pip&lt;/STRONG&gt; in the first cell to create a notebook‑scoped environment for each run; this limits cross‑run impacts on the same cluster.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Keep libraries that need to be shared stable as &lt;STRONG&gt;compute‑scoped libraries&lt;/STRONG&gt; and avoid mutating them during job execution to reduce race conditions.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Avoid star imports (from utils import *). Import explicit symbols to reduce import‑time side effects.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;If you deploy code updates, start a &lt;STRONG&gt;new session&lt;/STRONG&gt; (or restart the cluster) to clear Python/import caches before the next run.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;Use Workspace Files or Volumes paths instead of /dbfs when importing:
&lt;UL&gt;
&lt;LI&gt;For workspace source files, reference them as workspace files (for example, keep your package alongside notebooks under /Workspace and import with normal Python module paths); Databricks recommends &lt;STRONG&gt;workspace files&lt;/STRONG&gt; for source code and &lt;STRONG&gt;Volumes&lt;/STRONG&gt; for larger artifacts.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="paragraph"&gt;Minimal migration example&lt;/H3&gt;
&lt;DIV class="paragraph"&gt;Replace: &lt;CODE&gt;python
import sys
sys.path.insert(0, '/dbfs/DataEnabling/Pyspark')
from utils import *
from trigger_processing_framework.insert_trigger import InsertTrigger
&lt;/CODE&gt; With one of: 1) Workspace files (recommended during development): - Place your Python package as files under /Workspace/… (optionally in a Git folder/Repos). - Use normal &lt;CODE&gt;import package.module&lt;/CODE&gt; without touching sys.path.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;2) Wheel library (recommended for production): - Build a wheel and install it either as a compute‑scoped library or with &lt;CODE&gt;%pip install /Volumes/.../my_lib.whl&lt;/CODE&gt; for a notebook‑scoped env, then &lt;CODE&gt;import&lt;/CODE&gt; normally.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;If you keep using a shared interactive cluster in the short term, try running a single concurrent ADF trigger to validate the import path change first, then increase concurrency.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Hope this helps, Louis.&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Nov 2025 20:43:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/multiple-concurrent-jobs-using-interactive-cluster/m-p/137450#M50747</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-11-03T20:43:14Z</dc:date>
    </item>
  </channel>
</rss>

