<?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: File not found error. in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/66067#M1769</link>
    <description>&lt;P&gt;Was able to resolve the issue by adding pyOpenSSL library to the cluster.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 12:09:59 GMT</pubDate>
    <dc:creator>raghu2</dc:creator>
    <dc:date>2024-04-11T12:09:59Z</dc:date>
    <item>
      <title>File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8954#M300</link>
      <description>&lt;P&gt;FileNotFoundError: [Errno 2] No such file or directory: '/dbfs/FileStore/config.share'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to read the config.share file, it is throwing this error. I tried with spark path format as well which is dbfs:/FileStore/config.share' but it also didn't work.&lt;/P&gt;&lt;P&gt;Cluster configuration: 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12) Unity Catalog enabled&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 04:46:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8954#M300</guid>
      <dc:creator>Data_Analytics1</dc:creator>
      <dc:date>2023-02-22T04:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8956#M302</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;File is there even it shows full details using dbutils.fs.ls("/FileStore/")&lt;/P&gt;&lt;P&gt;but when I give the same path to delta sharing library, it gives me this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import delta_sharing
profile_file = f"/dbfs/FileStore/config.share"
profile = delta_sharing.SharingClient(profile_file)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When executing the above code snippet, FileNotFound error pops up.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 13:40:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8956#M302</guid>
      <dc:creator>Data_Analytics1</dc:creator>
      <dc:date>2023-02-22T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8958#M304</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;I can read the same file in below code snippet.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;table_url_spark = "dbfs:/FileStore/shares/config.share" + "#share.schema.table"
data_spark_cdf = delta_sharing.load_as_spark(table_url_spark)
data_spark_cdf.count()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But with the same path I am unable to read the file in below code snippet.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import delta_sharing
profile_file = f"dbfs:/FileStore/share/config.share"
profile = delta_sharing.SharingClient(profile_file)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:07:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8958#M304</guid>
      <dc:creator>Data_Analytics1</dc:creator>
      <dc:date>2023-02-22T16:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8960#M306</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;, By mistake while copy pasting the code in the comment that extra 's' was deleted from shares word. But the problem still exist.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:38:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8960#M306</guid>
      <dc:creator>Data_Analytics1</dc:creator>
      <dc:date>2023-02-22T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8962#M308</link>
      <description>&lt;P&gt;Something is going on wth DBFS files/paths. I have experienced similar situations, even with simple files and paths. No matter the path format you decide to use; it's not working.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 22:38:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/8962#M308</guid>
      <dc:creator>pfig</dc:creator>
      <dc:date>2023-03-19T22:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/37372#M1084</link>
      <description>&lt;P&gt;I receive the "&lt;SPAN&gt;File not found error" when reading dbfs file after the cluster was changed. Just with the same file and it's dbfs location there is no error when I change the cluster back.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 11:29:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/37372#M1084</guid>
      <dc:creator>JanaP</dc:creator>
      <dc:date>2023-07-11T11:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/65926#M1764</link>
      <description>&lt;P&gt;I have the same issue on a UC enabled cluster Db Version: 14.3 LTS. When I switch to cluster version 10.X there is no error.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 21:18:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/65926#M1764</guid>
      <dc:creator>raghu2</dc:creator>
      <dc:date>2024-04-09T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/66067#M1769</link>
      <description>&lt;P&gt;Was able to resolve the issue by adding pyOpenSSL library to the cluster.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 12:09:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/66067#M1769</guid>
      <dc:creator>raghu2</dc:creator>
      <dc:date>2024-04-11T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/71074#M1849</link>
      <description>&lt;P&gt;Have you solved?i&amp;nbsp; have same problem&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 07:25:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/71074#M1849</guid>
      <dc:creator>qigang</dc:creator>
      <dc:date>2024-05-30T07:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/71098#M1851</link>
      <description>&lt;P&gt;Few things to consider here - Cluster type, DBR version. Can you please check if the cluster is shared or assigned? This link might be helpful -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dbfs/unity-catalog.html" target="_blank"&gt;https://docs.databricks.com/en/dbfs/unity-catalog.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 11:37:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/71098#M1851</guid>
      <dc:creator>dkushari</dc:creator>
      <dc:date>2024-05-30T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: File not found error.</title>
      <link>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/72748#M1868</link>
      <description>&lt;P&gt;On Unity Catalog Shared Access Mode clusters you need to use a UC Volume to read (config) files using vanilla Python (with open() for example that many libs use). You can no longer read files from DBFS this way. This is all part of the new security model.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So you would get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;profile_file = f"/Volumes/Volume_123/share/config.share"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 09:14:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/file-not-found-error/m-p/72748#M1868</guid>
      <dc:creator>jacovangelder</dc:creator>
      <dc:date>2024-06-12T09:14:44Z</dc:date>
    </item>
  </channel>
</rss>

