<?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 update table location with wasb to abfss in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-update-table-location-with-wasb-to-abfss/m-p/40038#M27113</link>
    <description>&lt;P&gt;I created a table including location such as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;wasb://&amp;lt;container&amp;gt;@&amp;lt;storageaccount&amp;gt;.blob.core.windows.net/foldername&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;We have updated access to storage accounts to use abfss&lt;/P&gt;&lt;P&gt;I am trying to execute the following command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;alter table mydatabase.mytable &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;set location ' abfss://&amp;lt;container&amp;gt;@&amp;lt;storageaccount&amp;gt;.dfs.core.windows.net/foldername&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am getting the error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Failure to initialize configuration for storage account &amp;lt;storageaccount&amp;gt;.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.keyInvalid configuration value detected for fs.azure.account.key&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On the cluster I have changed:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;spark.hadoop.fs.azure.account.key.&amp;lt;storageaccount&amp;gt;.blob.core.windows.net {{secrets/&amp;lt;proyect&amp;gt;/&amp;lt;storageaccount&amp;gt;}}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;to this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;spark.hadoop.fs.azure.account.key.&amp;lt;storageaccount&amp;gt;.dfs.core.windows.net {{secrets/&amp;lt;proyect&amp;gt;/&amp;lt;storageaccount&amp;gt;}}&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 10:00:42 GMT</pubDate>
    <dc:creator>lazcanja</dc:creator>
    <dc:date>2023-08-16T10:00:42Z</dc:date>
    <item>
      <title>How to update table location with wasb to abfss</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-update-table-location-with-wasb-to-abfss/m-p/40038#M27113</link>
      <description>&lt;P&gt;I created a table including location such as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;wasb://&amp;lt;container&amp;gt;@&amp;lt;storageaccount&amp;gt;.blob.core.windows.net/foldername&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;We have updated access to storage accounts to use abfss&lt;/P&gt;&lt;P&gt;I am trying to execute the following command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;alter table mydatabase.mytable &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;set location ' abfss://&amp;lt;container&amp;gt;@&amp;lt;storageaccount&amp;gt;.dfs.core.windows.net/foldername&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am getting the error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Failure to initialize configuration for storage account &amp;lt;storageaccount&amp;gt;.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.keyInvalid configuration value detected for fs.azure.account.key&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On the cluster I have changed:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;spark.hadoop.fs.azure.account.key.&amp;lt;storageaccount&amp;gt;.blob.core.windows.net {{secrets/&amp;lt;proyect&amp;gt;/&amp;lt;storageaccount&amp;gt;}}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;to this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;spark.hadoop.fs.azure.account.key.&amp;lt;storageaccount&amp;gt;.dfs.core.windows.net {{secrets/&amp;lt;proyect&amp;gt;/&amp;lt;storageaccount&amp;gt;}}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 10:00:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-update-table-location-with-wasb-to-abfss/m-p/40038#M27113</guid>
      <dc:creator>lazcanja</dc:creator>
      <dc:date>2023-08-16T10:00:42Z</dc:date>
    </item>
  </channel>
</rss>

