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>”})

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store