Error on locating FileStore on Databricks DBFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 03:39 AM
Hello, I'm having a strange error while locating the FileStore folder on DBFS.
Following the error message:
dbutils.fs.ls('dbfs:/Filestore')java.io.FileNotFoundException: File /6239660819762462/Filestore does not exist.
ExecutionError Traceback (most recent call last)
<command-4278401370714871> in <cell line: 1>()
----> 1 dbutils.fs.ls('dbfs:/Filestore')
/databricks/python_shell/dbruntime/dbutils.py in f_with_exception_handling(*args, **kwargs)
360 exc.__context__ = None
361 exc.__cause__ = None
--> 362 raise exc
363
364 return f_with_exception_handling
ExecutionError: An error occurred while calling o377.ls.
: java.io.FileNotFoundException: File /6239660819762462/Filestore does not exist.
at shaded.databricks.org.apache.hadoop.fs.azure.NativeAzureFileSystem.listStatus(NativeAzureFileSystem.java:2492)
at com.databricks.backend.daemon.data.client.DBFSV2.$anonfun$listStatus$2(DatabricksFileSystemV2.scala:97)
at com.databricks.s3a.S3AExceptionUtils$.convertAWSExceptionToJavaIOException(DatabricksStreamUtils.scala:66)
at com.databricks.backend.daemon.data.client.DBFSV2.$anonfun$listStatus$1(DatabricksFileSystemV2.scala:94)
at com.databricks.logging.UsageLogging.$anonfun$recordOperation$1(UsageLogging.scala:541)
at com.databricks.logging.UsageLogging.executeThunkAndCaptureResultTags$1(UsageLogging.scala:636)
at com.databricks.logging.UsageLogging.$anonfun$recordOperationWithResultTags$4(UsageLogging.scala:657)The code '6239660819762462' seems to be the WorkspaceId where the Notebook is.
Can anyone explain me why that happen? Thanks
- Labels:
-
Databricks dbfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 02:16 PM
It is supposed to be "FileStore" instead of "Filestore".
So this should work: dbutils.fs.ls("dbfs:/FileStore")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 02:03 AM
Hi @Marco Fina
Thank you for posting your question in our community! We are happy to assist you.
To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?
This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!