<?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: Mounted Azure Storage shows mount.err inside folder while reading from Azure Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4874#M1463</link>
    <description>&lt;P&gt;Hi @vichus1995​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 07:44:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-19T07:44:52Z</dc:date>
    <item>
      <title>Mounted Azure Storage shows mount.err inside folder while reading from Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4872#M1461</link>
      <description>&lt;P&gt;I'm using Azure Databricks notebook to read a excel file from a folder inside a mounted Azure blob storage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mounted excel location is like : "/mnt/2023-project/dashboard/ext/Marks.xlsx". &lt;I&gt;2023-project&lt;/I&gt; is the mount point and &lt;I&gt;dashboard&lt;/I&gt; is the name of the container.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do a &lt;A href="https://dbutils.fs.ls" alt="https://dbutils.fs.ls" target="_blank"&gt;dbutils.fs.ls&lt;/A&gt; I can see all the files inside the &lt;I&gt;ext&lt;/I&gt; folder. There are lot of &lt;I&gt;os&lt;/I&gt; functions being used in the code as it was developed on a different environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do a &lt;I&gt;os.listdir &lt;/I&gt;on &lt;I&gt;ext&lt;/I&gt; folder, I get a error &lt;I&gt;No such file or directory&lt;/I&gt;. When I do a &lt;I&gt;os.listdir&lt;/I&gt; on &lt;I&gt;dashboard&lt;/I&gt; container I get &lt;I&gt;mount.err&lt;/I&gt; as the output. While reading the excel file using &lt;I&gt;pandas&lt;/I&gt; or &lt;I&gt;openpyxl&lt;/I&gt; I get a error &lt;I&gt;No such file or directory&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;I have tried with and without using &lt;I&gt;/dbfs&lt;/I&gt; at the beginning of the mount point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using DBR 12.1 (includes Apache Spark 3.3.1, Scala 2.12). I mounted the azure storage using the credential pass through method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;configs = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'fs.azure.account.auth.type': 'CustomAccessToken',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'fs.azure.account.custom.token.provider.class': spark.conf.get('spark.databricks.passthrough.adls.gen2.tokenProviderClassName')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on this. I'm relatively new to Databricks.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 04:01:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4872#M1461</guid>
      <dc:creator>vichus1995</dc:creator>
      <dc:date>2023-05-03T04:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mounted Azure Storage shows mount.err inside folder while reading from Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4873#M1462</link>
      <description>&lt;P&gt;If you want to learn using databricks, I would first read the file into a spark dataframe using spark.read&lt;/P&gt;&lt;P&gt;This results in a spark dataframe.  From that moment on you can decide going further using pyspark or covert the dataframe to a pandas dataframe.&lt;/P&gt;&lt;P&gt;This link has some info:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/synapse-analytics/quickstart-read-from-gen2-to-pandas-dataframe" target="test_blank"&gt;https://learn.microsoft.com/en-us/azure/synapse-analytics/quickstart-read-from-gen2-to-pandas-dataframe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 08:48:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4873#M1462</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-05-03T08:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mounted Azure Storage shows mount.err inside folder while reading from Azure Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4874#M1463</link>
      <description>&lt;P&gt;Hi @vichus1995​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 07:44:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/mounted-azure-storage-shows-mount-err-inside-folder-while/m-p/4874#M1463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-19T07:44:52Z</dc:date>
    </item>
  </channel>
</rss>

