Azure Data Bricks Mount point
I was stuck to find out the right solution that how to create a Mount point in data bricks without using the Scope.
So here is the script which create a mount point using the Storage Account keys.
Scala —
dbutils.fs.mount(
source = “wasbs://<StorageContainerName>@<StorageAccountName>.blob.core.windows.net/”,
mountPoint = “/mnt/<MountPointName>”,
extraConfigs = Map(“fs.azure.account.key.<StorageAccounName>.blob.core.windows.net” -> “<StorageAccountKey>”))
Python –
dbutils.fs.mount(
source = “wasbs://<StorageContainerName>@<StorageAccountName>.blob.core.windows.net/”,
mount_point = “/mnt/<MountPointName>”,
extra_configs = {“fs.azure.account.key.<StorageAccountName>.blob.core.windows.net”:”<StorageAccountKey>”})