<?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: Notebook execution failed at Notebook service with http status code - '200' in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4269538#M4996</link>
    <description>&lt;P&gt;Are you able to slighlty refactor your code and use try -&amp;gt; except blocks in pyspark notebook with your sql code running in spark.sql(""), you can then catch the errors and see exactly what is going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might also want to use consider using pyspark to load your bronze data into dataframe and write to dest lakehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = spark.read.format('delta').load('path_to_source_table')

df.write().format('delta').mode('overwrite').saveAsTable('path_to dest_table')&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 04 Nov 2024 18:02:32 GMT</pubDate>
    <dc:creator>richbenmintz</dc:creator>
    <dc:date>2024-11-04T18:02:32Z</dc:date>
    <item>
      <title>Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4252702#M4729</link>
      <description>&lt;P&gt;I have a Master orchestration pipeline, which consist of 6 invoked pipelines running parallelly.&lt;/P&gt;&lt;P&gt;Within each invoked pipeline, there are 3 notebooks running in a series (ingestion notebook---&amp;gt;Silver Notebook ---&amp;gt; Gold Notebook).&lt;/P&gt;&lt;P&gt;I'm facing the below issue often in the random silver or gold notes books sparksql statement.&lt;/P&gt;&lt;P&gt;FYI,The tables provided in the statements are not used in any other notebooks, each notebook has it's own set of table list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aravindhsam8_0-1729605369713.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1187206i6C337F427B1252E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aravindhsam8_0-1729605369713.png" alt="aravindhsam8_0-1729605369713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not only specific to "create table statement", it also occurs for "drop table if exist" statement too.&lt;/P&gt;&lt;P&gt;Master orchestration runs everyday which is schedule to run daily and this issue persist at least weekly thrice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 13:56:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4252702#M4729</guid>
      <dc:creator>aravindhsam8</dc:creator>
      <dc:date>2024-10-22T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4253179#M4731</link>
      <description>&lt;LI-CODE lang="markup"&gt;This is not only specific to "create table statement", it also occurs for "drop table if exist" statement too.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think these issues are related. Looks like your code sometimes fails to drop the table, and then it complans that it cannot create an existing table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 22:04:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4253179#M4731</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-22T22:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4253573#M4734</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/828425"&gt;@aravindhsam8&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from lbendlin&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check the data pipeline and the owner of the notebook? A similar problem may occur when the owner of the notebook is removed from the workspace. You can also check if the owner of the pipeline and notebook has access to all the items you need for your run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you are using the Spark 1.3 runtime.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try to add a retry run pipeline? See if the problem can be reproduced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 05:41:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4253573#M4734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-23T05:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4254391#M4743</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I have changed to&amp;nbsp;&lt;SPAN&gt;Spark 1.3 runtime. I have also checked all the ownership of the items within the pipleine, everything are under my name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried to provide retry option if failed for each notebook activity, the issue still persist, it fails on the first and succeed either on second or third.&lt;BR /&gt;But still the notbook fails, even though all the above options are checked.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 12:53:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4254391#M4743</guid>
      <dc:creator>aravindhsam8</dc:creator>
      <dc:date>2024-10-23T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4260392#M4866</link>
      <description>&lt;P&gt;HI&amp;nbsp;@Anonymous&amp;nbsp;, Just following back on this.&lt;BR /&gt;Kindly help on the above issue.&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 11:12:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4260392#M4866</guid>
      <dc:creator>aravindhsam8</dc:creator>
      <dc:date>2024-10-28T11:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4268889#M4993</link>
      <description>&lt;P&gt;&lt;SPAN&gt;HI&amp;nbsp;@Anonymous&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;, Just following back again on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly help on the above issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 09:23:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4268889#M4993</guid>
      <dc:creator>aravindhsam8</dc:creator>
      <dc:date>2024-11-04T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook execution failed at Notebook service with http status code - '200'</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4269538#M4996</link>
      <description>&lt;P&gt;Are you able to slighlty refactor your code and use try -&amp;gt; except blocks in pyspark notebook with your sql code running in spark.sql(""), you can then catch the errors and see exactly what is going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might also want to use consider using pyspark to load your bronze data into dataframe and write to dest lakehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = spark.read.format('delta').load('path_to_source_table')

df.write().format('delta').mode('overwrite').saveAsTable('path_to dest_table')&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 04 Nov 2024 18:02:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-execution-failed-at-Notebook-service-with-http-status/m-p/4269538#M4996</guid>
      <dc:creator>richbenmintz</dc:creator>
      <dc:date>2024-11-04T18:02:32Z</dc:date>
    </item>
  </channel>
</rss>

