<?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 Unable to mount datalake gen1 to databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-mount-datalake-gen1-to-databricks/m-p/17351#M11378</link>
    <description>&lt;P&gt; I was mounting the Datalake Gen1 to Databricks for accessing and processing files, The below code was working great for the past 1 year and all of a sudden I'm getting an error&lt;/P&gt;&lt;P&gt;configs = {"df.adl.oauth2.access.token.provider.type": "ClientCredential", "&lt;A href="http://df.adl.oauth2.client.id" alt="http://df.adl.oauth2.client.id" target="_blank"&gt;df.adl.oauth2.client.id&lt;/A&gt;": dbutils.secrets.get(scope = "scope1", key = "scope1ID"), "df.adl.oauth2.credential": dbutils.secrets.get(scope = "scope1", key = "scope1Secret"), "df.adl.oauth2.refresh.url": "https://login.microsoftonline.com&lt;A href="https://login.microsoftonline.com/###" alt="https://login.microsoftonline.com/###" target="_blank"&gt;/###&lt;/A&gt;#REPLACED&lt;/P&gt;&lt;P&gt; FOR SECURITY###/oauth2/token"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; Optionally, you can add &amp;lt;directory-name&amp;gt; to the source URI of your mount point.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;butils.fs.mount( source = "adl://&lt;A href="http://company.azuredatalakestore.net/sandbox" alt="http://company.azuredatalakestore.net/sandbox" target="_blank"&gt;company.azuredatalakestore.net/sandbox&lt;/A&gt;&lt;A href="http://company.azuredatalakestore.net/sandbox/" alt="http://company.azuredatalakestore.net/sandbox/" target="_blank"&gt;/&lt;/A&gt;", mount_point = "/mnt/testFolder", extra_configs = configs) &amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;But all of a sudden I'm getting the below error&amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;Error : ExecutionError: An error occurred while calling o334.mount. : com.microsoft.azure.datalake.store.ADLException: Error creating directory / Error fetching access token Operation null failed with exception java.io.IOException : AADToken: HTTP connection failed for getting token from AzureAD due to timeout. Client Request Id :##### MASKED FOR SECURITY## Latency(ns) : 73677066 &lt;/P&gt;&lt;P&gt;I cant figure out the error, The Only thing which has changed is the Service Principle had expired and I've updated the Service Principle on Keyvault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 05:24:26 GMT</pubDate>
    <dc:creator>stramzik</dc:creator>
    <dc:date>2021-07-26T05:24:26Z</dc:date>
    <item>
      <title>Unable to mount datalake gen1 to databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-mount-datalake-gen1-to-databricks/m-p/17351#M11378</link>
      <description>&lt;P&gt; I was mounting the Datalake Gen1 to Databricks for accessing and processing files, The below code was working great for the past 1 year and all of a sudden I'm getting an error&lt;/P&gt;&lt;P&gt;configs = {"df.adl.oauth2.access.token.provider.type": "ClientCredential", "&lt;A href="http://df.adl.oauth2.client.id" alt="http://df.adl.oauth2.client.id" target="_blank"&gt;df.adl.oauth2.client.id&lt;/A&gt;": dbutils.secrets.get(scope = "scope1", key = "scope1ID"), "df.adl.oauth2.credential": dbutils.secrets.get(scope = "scope1", key = "scope1Secret"), "df.adl.oauth2.refresh.url": "https://login.microsoftonline.com&lt;A href="https://login.microsoftonline.com/###" alt="https://login.microsoftonline.com/###" target="_blank"&gt;/###&lt;/A&gt;#REPLACED&lt;/P&gt;&lt;P&gt; FOR SECURITY###/oauth2/token"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt; Optionally, you can add &amp;lt;directory-name&amp;gt; to the source URI of your mount point.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;butils.fs.mount( source = "adl://&lt;A href="http://company.azuredatalakestore.net/sandbox" alt="http://company.azuredatalakestore.net/sandbox" target="_blank"&gt;company.azuredatalakestore.net/sandbox&lt;/A&gt;&lt;A href="http://company.azuredatalakestore.net/sandbox/" alt="http://company.azuredatalakestore.net/sandbox/" target="_blank"&gt;/&lt;/A&gt;", mount_point = "/mnt/testFolder", extra_configs = configs) &amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;But all of a sudden I'm getting the below error&amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;Error : ExecutionError: An error occurred while calling o334.mount. : com.microsoft.azure.datalake.store.ADLException: Error creating directory / Error fetching access token Operation null failed with exception java.io.IOException : AADToken: HTTP connection failed for getting token from AzureAD due to timeout. Client Request Id :##### MASKED FOR SECURITY## Latency(ns) : 73677066 &lt;/P&gt;&lt;P&gt;I cant figure out the error, The Only thing which has changed is the Service Principle had expired and I've updated the Service Principle on Keyvault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 05:24:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-mount-datalake-gen1-to-databricks/m-p/17351#M11378</guid>
      <dc:creator>stramzik</dc:creator>
      <dc:date>2021-07-26T05:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount datalake gen1 to databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-mount-datalake-gen1-to-databricks/m-p/17352#M11379</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;bumping up the thread&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:01:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-mount-datalake-gen1-to-databricks/m-p/17352#M11379</guid>
      <dc:creator>stramzik</dc:creator>
      <dc:date>2021-07-28T11:01:43Z</dc:date>
    </item>
  </channel>
</rss>

