<?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: How can you mount an Azure Data Lake (gen2) using abfss and Shared Key? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15792#M10065</link>
    <description>&lt;P&gt;I tried changing the configs as suggested but I have the same error. I guess using Oauth would be recommended, is data governance the main benefit of Oauth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to connect to the ADLG2 using the blob endpoint and the wasbs:// driver which will be good enough for dev.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 15:25:21 GMT</pubDate>
    <dc:creator>FMendez</dc:creator>
    <dc:date>2021-09-13T15:25:21Z</dc:date>
    <item>
      <title>How can you mount an Azure Data Lake (gen2) using abfss and Shared Key?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15789#M10062</link>
      <description>&lt;P&gt;I wanted to mount a ADLG2 on databricks and take advantage on the abfss driver which should be better for large analytical workloads (is that even true in the context of DB?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting an OAuth is a bit of a pain so I wanted to take the simpler approach and use a Shared Key. Following what I've seen in Hadoop &lt;A href="https://hadoop.apache.org/docs/stable/hadoop-azure/abfs.html#Default:_Shared_Key" alt="https://hadoop.apache.org/docs/stable/hadoop-azure/abfs.html#Default:_Shared_Key" target="_blank"&gt;documentation&lt;/A&gt; this should work, any ideas of what I might be doing wrong? I get a `java.lang.NullPointerException: authEndpoint` error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%py
dbutils.fs.mount(
  source = "abfss://"+ container + "@" + storageAccountName + ".dfs.core.windows.net",
  mount_point = "/mnt/" + container,
  extra_configs = {'fs.azure.account.auth.type.' + storageAccountName + '.dfs.core.windows.net': "SharedKey",
                   'fs.azure.account.key.' +       storageAccountName + '.dfs.core.windows.net': storageAccountAccessKey})&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 11:29:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15789#M10062</guid>
      <dc:creator>FMendez</dc:creator>
      <dc:date>2021-09-10T11:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can you mount an Azure Data Lake (gen2) using abfss and Shared Key?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15791#M10064</link>
      <description>&lt;P&gt;I use OAUTH but it should be similar.&lt;/P&gt;&lt;P&gt;What I use (and it works): &lt;/P&gt;&lt;P&gt;&lt;I&gt;"fs.azure.account.auth.type": "OAuth", &lt;/I&gt;(for you this is SharedKey I presume)&lt;/P&gt;&lt;P&gt;I don't think you have to pass the storage accountname in the extra_configs (or dfs.core.windows.net)&lt;/P&gt;&lt;P&gt;So I would try with just fs.azure.account.key and fs.azure.account.auth.type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said: Oauth is the way to go if you are going to a production scenario. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 14:10:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15791#M10064</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2021-09-13T14:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can you mount an Azure Data Lake (gen2) using abfss and Shared Key?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15792#M10065</link>
      <description>&lt;P&gt;I tried changing the configs as suggested but I have the same error. I guess using Oauth would be recommended, is data governance the main benefit of Oauth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to connect to the ADLG2 using the blob endpoint and the wasbs:// driver which will be good enough for dev.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 15:25:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15792#M10065</guid>
      <dc:creator>FMendez</dc:creator>
      <dc:date>2021-09-13T15:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can you mount an Azure Data Lake (gen2) using abfss and Shared Key?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15793#M10066</link>
      <description>&lt;P&gt;Hi @Fernando Mendez​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below document will help you to mount the ADLS gen2 using abfss:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/data/data-sources/azure/adls-gen2/azure-datalake-gen2-get-started.html" target="test_blank"&gt;https://docs.databricks.com/data/data-sources/azure/adls-gen2/azure-datalake-gen2-get-started.html&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check if this helps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 09:57:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-you-mount-an-azure-data-lake-gen2-using-abfss-and-shared/m-p/15793#M10066</guid>
      <dc:creator>User16753724663</dc:creator>
      <dc:date>2021-10-04T09:57:28Z</dc:date>
    </item>
  </channel>
</rss>

