<?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: Running jobs using notebooks in a remote Azure DevOps Services (Repos) Git repository is generating &amp;quot;Notebook not found&amp;quot; error. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25523#M17763</link>
    <description>&lt;P&gt;Oh, perfect Vaibhav! That was exactly the problem. I added the above content and it worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 19:53:40 GMT</pubDate>
    <dc:creator>DanielBarbosa</dc:creator>
    <dc:date>2022-10-27T19:53:40Z</dc:date>
    <item>
      <title>Running jobs using notebooks in a remote Azure DevOps Services (Repos) Git repository is generating "Notebook not found" error.</title>
      <link>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25521#M17761</link>
      <description>&lt;P&gt;By reading the &lt;A href="https://docs.databricks.com/workflows/jobs/jobs.html?&amp;amp;_ga=2.249366660.248257816.1666808671-499679986.1666808651#run-jobs-using-notebooks-in-a-remote-git-repository" alt="https://docs.databricks.com/workflows/jobs/jobs.html?&amp;amp;_ga=2.249366660.248257816.1666808671-499679986.1666808651#run-jobs-using-notebooks-in-a-remote-git-repository" target="_blank"&gt;documentation&lt;/A&gt;, we checked the possibility of running jobs in the Azure Databricks Workspace workflow using Azure DevOps Services repository source codes.&lt;/P&gt;&lt;P&gt;The instructions in the &lt;A href="https://docs.databricks.com/workflows/jobs/jobs.html?&amp;amp;_ga=2.249366660.248257816.1666808671-499679986.1666808651#run-jobs-using-notebooks-in-a-remote-git-repository" alt="https://docs.databricks.com/workflows/jobs/jobs.html?&amp;amp;_ga=2.249366660.248257816.1666808671-499679986.1666808651#run-jobs-using-notebooks-in-a-remote-git-repository" target="_blank"&gt;documentation&lt;/A&gt; were followed and we configured the git information menu with information from our repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To configure the git information menu (workflows &amp;gt; jobs &amp;gt; "test_azure_repos" [name of the job created for the test]&amp;gt; tasks &amp;gt; Source &amp;gt; Git Information), we checked the repository URL in the option to clone over HTTPS, as shown in figure 1 and we entered this address in the "Git repository URL" field in Figure 3. In addition, we include the branch name and provider type information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1295iA523D962AABB0ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 1. URL address used to clone the repository over HTTPS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1301i16ED79BAC34D8D06/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 2. Inserting the value from figure 2 in the git information menu in the Databricks workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Databricks workspace git provider configuration (User settings &amp;gt; Git integration), the configuration option chosen was "Azure DevOps Services (Azure Active Directory)", as shown in Figure 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1302i6674FB19A5C68EF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 3. Git provider configuration.&lt;/P&gt;&lt;P&gt;However, when executing the job, an error is returned indicating that the notebook was not found in the repository, as shown in Figure 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1303i3AAA0ADA923DA882/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 4. Error "Notebook not found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The instructions for inserting the relative path of the repository and omitting the file extension were followed, as the documentation indicates.&lt;/P&gt;&lt;P&gt;The file path entered in the "Path" parameter of the task configuration was "src/test", which matches the structure of the Azure DevOps Service repository, as shown in Figure 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1305iD3F54DD06183198C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 5. File path configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1306i8A88B4FCB44AA1E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Figure 6. Repository structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "job run" we can verify that the identification of the commit of the repository is equivalent to what is in the remote repository. But still the execution generates this notebook not found error and accuses internal error, as shown in Figure 7&lt;/P&gt;&lt;P&gt;Tests were performed with Github and the executions were successful.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1311i9C14BBAABA5D47A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Figure 7. Job run with error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:15:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25521#M17761</guid>
      <dc:creator>DanielBarbosa</dc:creator>
      <dc:date>2022-10-27T14:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running jobs using notebooks in a remote Azure DevOps Services (Repos) Git repository is generating "Notebook not found" error.</title>
      <link>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25522#M17762</link>
      <description>&lt;P&gt;Can you check if the file test.py is a valid Databricks notebook i.e. it starts with &lt;/P&gt;&lt;P&gt;# Databricks notebook source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error would occur if you were trying to run a python script instead of a Databricks notebook.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 19:34:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25522#M17762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-27T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running jobs using notebooks in a remote Azure DevOps Services (Repos) Git repository is generating "Notebook not found" error.</title>
      <link>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25523#M17763</link>
      <description>&lt;P&gt;Oh, perfect Vaibhav! That was exactly the problem. I added the above content and it worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 19:53:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25523#M17763</guid>
      <dc:creator>DanielBarbosa</dc:creator>
      <dc:date>2022-10-27T19:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running jobs using notebooks in a remote Azure DevOps Services (Repos) Git repository is generating "Notebook not found" error.</title>
      <link>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25524#M17764</link>
      <description>&lt;P&gt;I have the same challenge when integrating with Github repos. However I did not succeed including: '# Databricks notebook source' in the top of python files.  Do you have any additional suggestions for solving this problem? @Vaibhav Sethi​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 08:15:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/running-jobs-using-notebooks-in-a-remote-azure-devops-services/m-p/25524#M17764</guid>
      <dc:creator>Ulf</dc:creator>
      <dc:date>2023-01-16T08:15:51Z</dc:date>
    </item>
  </channel>
</rss>

