cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

External location + Failure to initialize configuration for storage account

RYBK
New Contributor III

Hello,
I created a storage credential and an external location. Test is ok, I'm able to browse it from the portal. 
I have a notebook to create a table :
%sql
CREATE OR REPLACE TABLE myschema.mytable
(
  data1 string,
 data2 string
)
USING DELTA LOCATION "abfss://mycontainer@myaccount.blob.core.windows.net/";
 
When I'm executing the notebook with a SQL warehouses cluster, it works fine ; with a standard cluster it failed with this error "Failure to initialize configuration for storage account myaccount.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.key"
 
I thought it was no longer needed to set fs.azure.account.key. with an external location, am I wrong ? Am I missing something ?
 

 

1 ACCEPTED SOLUTION

Accepted Solutions

RYBK
New Contributor III

Hello @Retired_mod 

Thank you for your response. We found the issue. We use a ML Cluster with "no isolation shared" as access mode. This cluster is not compatible with unity. We set fs.azure.* variables in the cluster conf. like below to fix our issue:

fs.azure.account.oauth2.client.id.mydatalake.dfs.core.windows.net: {{secrets/mysecret/myclientid}}

Is there a better/proper way to do it ?

Regards

View solution in original post

2 REPLIES 2

RYBK
New Contributor III

Hello @Retired_mod 

Thank you for your response. We found the issue. We use a ML Cluster with "no isolation shared" as access mode. This cluster is not compatible with unity. We set fs.azure.* variables in the cluster conf. like below to fix our issue:

fs.azure.account.oauth2.client.id.mydatalake.dfs.core.windows.net: {{secrets/mysecret/myclientid}}

Is there a better/proper way to do it ?

Regards

RYBK
New Contributor III

I believe this is what we are doing, as I mentioned in my example, right?

Thank you

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group