<?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 How to disable DBFS storage in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-disable-dbfs-storage/m-p/73328#M34644</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;SPAN&gt;I administer a self-service oriented Databricks workspace and I notice that more and more users are storing their data in DBFS due to lack of knowledge.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;They are not specifying a location when creating their schema or they are not specifying a schema at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To prevent them from doing so, I thought about adding a parameter in spark config : "spark.sql.warehouse.dir adl://forbidden ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works pretty well ... except when we add a location on a table.&lt;BR /&gt;Why it's trying to use "spark.sql.warehouse.dir" for that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaximeGendre_1-1718227315313.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8396iAD2CD63B2851937B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="MaximeGendre_1-1718227315313.png" alt="MaximeGendre_1-1718227315313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there another way to block DBFS usage ?&lt;/P&gt;&lt;P&gt;PS : I know that Unity Catalog should solve this problem but it will deployed only in few months.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 21:27:37 GMT</pubDate>
    <dc:creator>MaximeGendre</dc:creator>
    <dc:date>2024-06-12T21:27:37Z</dc:date>
    <item>
      <title>How to disable DBFS storage</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-disable-dbfs-storage/m-p/73328#M34644</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;SPAN&gt;I administer a self-service oriented Databricks workspace and I notice that more and more users are storing their data in DBFS due to lack of knowledge.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;They are not specifying a location when creating their schema or they are not specifying a schema at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To prevent them from doing so, I thought about adding a parameter in spark config : "spark.sql.warehouse.dir adl://forbidden ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works pretty well ... except when we add a location on a table.&lt;BR /&gt;Why it's trying to use "spark.sql.warehouse.dir" for that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaximeGendre_1-1718227315313.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/8396iAD2CD63B2851937B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="MaximeGendre_1-1718227315313.png" alt="MaximeGendre_1-1718227315313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there another way to block DBFS usage ?&lt;/P&gt;&lt;P&gt;PS : I know that Unity Catalog should solve this problem but it will deployed only in few months.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 21:27:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-disable-dbfs-storage/m-p/73328#M34644</guid>
      <dc:creator>MaximeGendre</dc:creator>
      <dc:date>2024-06-12T21:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable DBFS storage</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-disable-dbfs-storage/m-p/73949#M34685</link>
      <description>&lt;P&gt;Replacing "/mnt/adl2" by "dbfs:/mnt/adl2" fixed the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 21:42:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-disable-dbfs-storage/m-p/73949#M34685</guid>
      <dc:creator>MaximeGendre</dc:creator>
      <dc:date>2024-06-13T21:42:43Z</dc:date>
    </item>
  </channel>
</rss>

