From the course: Complete Guide to Databricks for Data Engineering

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

dbutils mounting

dbutils mounting

- [Instructor] Mounting is a technique where you can connect to the external storage, like the way we are connecting to the Databricks file system so far. Imagine that I am on my Azure account and in Azure I have this storage account that is Azure Data Lake Storage account. Now this ADLS account has the container and this has lots of folders and the files. Now, if I want to access this into the Databricks environment seamlessly, I need to mount this storage account into the Databricks world, and that is called as the mounting. Let's just see quickly how we can do this mounting. For doing this mounting, I have to write these specific lines of a code. Just to shorten the process, I've copy-pasted it here. Now this is a template. It says that you have to call dbutils.fs.mount, and there you give a storage account container name and the storage account name. Then you give the mount point. The mount point is just a path name, it could be anything. Whatever comes in your mind you want to…

Contents