<?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 Issue running notebook from another notebook in Job cluster in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/issue-running-notebook-from-another-notebook-in-job-cluster/m-p/99671#M2399</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have situation where I can run my notebook without any issue when I use a 'normal' cluster. However, when I run the exact same notebook in a job cluster it fails.&lt;/P&gt;&lt;P&gt;It fails at the point where it runs the cell:&lt;BR /&gt;`%run ../utils/some_other_notebook`&lt;/P&gt;&lt;P&gt;And the error seems to be caused by the following line which runs before the above one isn't doing what I am expecting:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;`sys.path.&lt;/SPAN&gt;&lt;SPAN&gt;append&lt;/SPAN&gt;&lt;SPAN&gt;(os.path.&lt;/SPAN&gt;&lt;SPAN&gt;abspath&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'../utils'&lt;/SPAN&gt;&lt;SPAN&gt;))`&lt;BR /&gt;&lt;BR /&gt;Now I run the job with the same user as when I run it with my 'normal' cluster. Also when I run the workflow with my 'normal' cluster attached it works. I also have the same construction working in other workspaces for job clusters.&amp;nbsp;&lt;BR /&gt;So my question is what could be causing this behaviour in this specific workspace with the job cluster? What settings are there that I should check to see if there are any differences in the config?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Nov 2024 16:21:13 GMT</pubDate>
    <dc:creator>_paskal_1</dc:creator>
    <dc:date>2024-11-21T16:21:13Z</dc:date>
    <item>
      <title>Issue running notebook from another notebook in Job cluster</title>
      <link>https://community.databricks.com/t5/administration-architecture/issue-running-notebook-from-another-notebook-in-job-cluster/m-p/99671#M2399</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have situation where I can run my notebook without any issue when I use a 'normal' cluster. However, when I run the exact same notebook in a job cluster it fails.&lt;/P&gt;&lt;P&gt;It fails at the point where it runs the cell:&lt;BR /&gt;`%run ../utils/some_other_notebook`&lt;/P&gt;&lt;P&gt;And the error seems to be caused by the following line which runs before the above one isn't doing what I am expecting:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;`sys.path.&lt;/SPAN&gt;&lt;SPAN&gt;append&lt;/SPAN&gt;&lt;SPAN&gt;(os.path.&lt;/SPAN&gt;&lt;SPAN&gt;abspath&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'../utils'&lt;/SPAN&gt;&lt;SPAN&gt;))`&lt;BR /&gt;&lt;BR /&gt;Now I run the job with the same user as when I run it with my 'normal' cluster. Also when I run the workflow with my 'normal' cluster attached it works. I also have the same construction working in other workspaces for job clusters.&amp;nbsp;&lt;BR /&gt;So my question is what could be causing this behaviour in this specific workspace with the job cluster? What settings are there that I should check to see if there are any differences in the config?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Nov 2024 16:21:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/issue-running-notebook-from-another-notebook-in-job-cluster/m-p/99671#M2399</guid>
      <dc:creator>_paskal_1</dc:creator>
      <dc:date>2024-11-21T16:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue running notebook from another notebook in Job cluster</title>
      <link>https://community.databricks.com/t5/administration-architecture/issue-running-notebook-from-another-notebook-in-job-cluster/m-p/100149#M2400</link>
      <description>&lt;P&gt;Not sure what went wrong but after pulling the sources (notebooks) again from GIT it now works both for my 'normal' cluster and the 'job' cluster.&lt;BR /&gt;Case closed for me...&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:42:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/issue-running-notebook-from-another-notebook-in-job-cluster/m-p/100149#M2400</guid>
      <dc:creator>_paskal_</dc:creator>
      <dc:date>2024-11-26T18:42:37Z</dc:date>
    </item>
  </channel>
</rss>

