Steps to Skip the Access Check for the Databricks Cluster Libraries Path
When attaching a library to a Databricks cluster, the plugin performs an access check on the library's path. If the required permissions are missing, the library installation fails.
To skip this access check, follow the steps below:
- Go to the Databricks cluster where you want to attach the libraries.
- Click the Edit button in cluster.
- Under the Advanced options navigate to the Spark tab.
-
In the Spark config section, add the following Spark property to skip the access check for the Databricks library path:
Bash - If this property is already configured with other paths, append
dbfs:/local_disk*
to the existing list using a comma separator. For example:Bash
- If this property is already configured with other paths, append
-
Click the Confirm button to save the changes.
- Navigate to the Libraries tab to verify if libraries are already attached to the cluster.
- Click Install New to add a new library.
- Choose the appropriate Library Source and select the desired library.
- Click Install to install the library.
- Click Restart to restart the cluster
- With the Spark property in place, the plugin will skip access checks on the specified cluster library path.
- Once the cluster restarts, check the Libraries tab. The library status should display as Installed.