<?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 No such file or directory error when accessing Azure Storage Container through Unity Catalog in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/no-such-file-or-directory-error-when-accessing-azure-storage/m-p/79136#M35681</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Databricks notebook that is attempting to unzip an archive located in Azure Storage Container.&amp;nbsp; Unity Catalog is setup to provide access to the container, yet I receive the following file not found error:&lt;/P&gt;&lt;P&gt;FileNotFoundError: [Errno 2] No such file or directory: 'abfss://pii@[REDACTED].dfs.core.windows.net/.../20190501-1.zip'&lt;/P&gt;&lt;P&gt;I assure you the file and directory do exist!&lt;/P&gt;&lt;P&gt;This is the code that is being executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if file_name.endswith(".zip"):
    with zipfile.ZipFile(file_directory + file_name, "r") as zip_ref:
        zip_ref.extractall(path=file_directory, pwd=zip_password.encode())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way around this problem without copying the file to local storage?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 15:21:25 GMT</pubDate>
    <dc:creator>mdsilk77</dc:creator>
    <dc:date>2024-07-17T15:21:25Z</dc:date>
    <item>
      <title>No such file or directory error when accessing Azure Storage Container through Unity Catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/no-such-file-or-directory-error-when-accessing-azure-storage/m-p/79136#M35681</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Databricks notebook that is attempting to unzip an archive located in Azure Storage Container.&amp;nbsp; Unity Catalog is setup to provide access to the container, yet I receive the following file not found error:&lt;/P&gt;&lt;P&gt;FileNotFoundError: [Errno 2] No such file or directory: 'abfss://pii@[REDACTED].dfs.core.windows.net/.../20190501-1.zip'&lt;/P&gt;&lt;P&gt;I assure you the file and directory do exist!&lt;/P&gt;&lt;P&gt;This is the code that is being executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if file_name.endswith(".zip"):
    with zipfile.ZipFile(file_directory + file_name, "r") as zip_ref:
        zip_ref.extractall(path=file_directory, pwd=zip_password.encode())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way around this problem without copying the file to local storage?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 15:21:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/no-such-file-or-directory-error-when-accessing-azure-storage/m-p/79136#M35681</guid>
      <dc:creator>mdsilk77</dc:creator>
      <dc:date>2024-07-17T15:21:25Z</dc:date>
    </item>
  </channel>
</rss>

