<?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 - mount a lakehouse fails in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4106042#M3659</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use this command to mount lakehouse to the current notebook.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mssparkutils.fs.mount(“abfss://&amp;lt;workspace_id&amp;gt;@onelake.dfs.fabric.microsoft.com/&amp;lt;lakehouse_id&amp;gt;”, “/lakehouse/test”) #mountPoint such as '/lakehouse/default'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The successful mount is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also make sure that the mount is successful by executing this command below to list all the mount points.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mssparkutils.fs.mounts()&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&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>Mon, 19 Aug 2024 03:02:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-19T03:02:08Z</dc:date>
    <item>
      <title>Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4105637#M3654</link>
      <description>&lt;P&gt;I'm trying to mount a lakehouse from another workspace to my Notebook by using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;notebookutils.fs.mount( 
 "abfss://&amp;lt;workspace_id&amp;gt;@msit-onelake.dfs.fabric.microsoft.com/&amp;lt;lakehouse_id&amp;gt;", 
 "/test"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#how-to-mount-a-lakehouse" target="_blank" rel="noopener"&gt;NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Yes, I am replacing the &amp;lt;workspace_id&amp;gt; and &amp;lt;lakehouse_id&amp;gt; with the GUID's of my workspace and lakehouse)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Py4JJavaError&lt;/SPAN&gt;: An error occurred while calling z:notebookutils.fs.mount. : java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 12:09:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4105637#M3654</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-18T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4106042#M3659</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use this command to mount lakehouse to the current notebook.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mssparkutils.fs.mount(“abfss://&amp;lt;workspace_id&amp;gt;@onelake.dfs.fabric.microsoft.com/&amp;lt;lakehouse_id&amp;gt;”, “/lakehouse/test”) #mountPoint such as '/lakehouse/default'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The successful mount is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also make sure that the mount is successful by executing this command below to list all the mount points.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mssparkutils.fs.mounts()&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&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>Mon, 19 Aug 2024 03:02:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4106042#M3659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T03:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4107522#M3674</link>
      <description>&lt;P&gt;Thanks, it worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however MS recommends to upgrade to notebookutils instead of mssparkutils:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities" target="_blank"&gt;NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error when trying to do the mount using Notebookutils:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#how-to-mount-a-lakehouse" target="_blank"&gt;NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this code work on your side?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 18:36:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4107522#M3674</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-19T18:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108548#M3682</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I failed at first with this code because the default timeout may not be enough, after increasing the timeout I succeeded:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;notebookutils.fs.mount (
    “abfss://&amp;lt;workspace_id&amp;gt;@msit-onelake.dfs.fabric.microsoft.com/&amp;lt;lakehouse_id&amp;gt;”,
    “/test”.
    {“timeout”: 600} 
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&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>Tue, 20 Aug 2024 07:08:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108548#M3682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-20T07:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108604#M3683</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems perhaps the default timeout of this function is too low, perhaps that it something which the dev team should adjust.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for showing the workaround!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 07:41:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108604#M3683</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-20T07:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108723#M3685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437984" data-lia-user-login="frithjof_v" class="lia-mention lia-mention-user"&gt;frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Could you please mark this helpful post as “Answered”?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will help others in the community to easily find a solution if they are experiencing the same problem as you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your cooperation!&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>Tue, 20 Aug 2024 08:25:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4108723#M3685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-20T08:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook - mount a lakehouse fails</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4378520#M6460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These failures are happening in our default LH mounts, even before our notebook cells start executing.&amp;nbsp; Is this the same bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you reported this bug to the PG yet?&amp;nbsp; Is there an ICM number that you can share?&amp;nbsp; If you cannot share that identifier here, can you please add the details to the internal notes on my SR:&lt;BR /&gt;&lt;SPAN&gt;TrackingID#2501220040016849&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;This needs to be added to the "known issues" list, if customers are expected to use workarounds to avoid these bugs in their default mounts.&lt;BR /&gt;&lt;BR /&gt;Customers should not be forced to make sure that the (default) mount is successful by executing this command to list all the mount points. &lt;STRONG&gt;mssparkutils.fs.mounts(&lt;/STRONG&gt;).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;... It would be far better if the PG would &lt;STRONG&gt;crash the notebook right at the start&lt;/STRONG&gt;, as opposed to allowing the notebook to begin execution with an invalid session/environment.&amp;nbsp; No Fabric customer wants to deal with an invalid session;&amp;nbsp; and we don't want to experience random and unpredictable errors in our code, as a result of a software bug from Microsoft.&amp;nbsp; &amp;nbsp;The experience is very confusing to a pyspark-notebook-developer, and is even more confusing when a developer must explain to their users why their workloads are dying.&amp;nbsp; These end-users are NOT likely to believe us (an average pyspark-notebook-developer)&amp;nbsp; when we blame the Microsoft Fabric platform for our unreliable workloads.&amp;nbsp; Hopefully this makes sense.&amp;nbsp; (... yet it has been months since you shared your workaround and there is still no relief from the PG, and nothing appears in the "known issues" list.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 21:30:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Notebook-mount-a-lakehouse-fails/m-p/4378520#M6460</guid>
      <dc:creator>dbeavon3</dc:creator>
      <dc:date>2025-01-23T21:30:03Z</dc:date>
    </item>
  </channel>
</rss>

