cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Error on locating FileStore on Databricks DBFS

Mfina
New Contributor

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

2 REPLIES 2

apingle
Contributor

It is supposed to be "FileStore" instead of "Filestore".

So this should work: dbutils.fs.ls("dbfs:/FileStore")

Anonymous
Not applicable

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! 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.