Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] dbutils.fs.ls() cannot list location of filesystems mounted using API #593

Open
stevenayers-bge opened this issue Mar 24, 2024 · 1 comment
Assignees

Comments

@stevenayers-bge
Copy link

NFS mounts are an experimental feature: https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/cluster#cluster_mount_info-blocks-experimental

They mount at the path /db-mnt/<local path> on the cluster but you cannot access this path using dbutils.

@mgyucht
Copy link
Contributor

mgyucht commented Apr 4, 2024

That's correct. This is a limitation of the DBFS REST API and won't be addressed in the API itself. This applies to all mount points, not just NFS mounts. The only way you can access that path is by starting a cluster and using the command execution API to run commands on a cluster. This is a technical limitation of DBFS mount points. Note that this limitation does not apply to the Files API & UC Volumes.

@mgyucht mgyucht self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants