Cannot initialize WASB file system

Tobias 21 Reputation points
2021-03-17T14:03:04.537+00:00
spark.conf.set(  
  "fs.azure.account.key.<storage-account-name>.blob.core.windows.net",  
  "<storage-account-access-key>")  
  
val df = spark.read.parquet("wasbs://<container-name>@<storage-account-name>.blob.core.windows.net/<directory-name>")  

I followed above the above documentation to access files from Azure Blob storage within Databricks notebooks, but I get the following error: "IllegalArgumentException: Cannot initialize WASB file system, URI authority not recognized."

Can anyone help resolve this? Thanks.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,396 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,206 questions
{count} votes