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

DBFS File Browser Error RESOURCE_DOES_NOT_EXIST:

Sharmila04
New Contributor

Hi,

I am new to databricks, and was trying to follow some tutorial to upload a file and move it under some different folder. I used DBFS option.

While trying to move/rename the file I am getting below error, can you please help to understand why I am getting this error? Though the file is already present.

DBFS File Browser Error
RESOURCE_DOES_NOT_EXIST: No file or directory exists on path /FileStore/vehicle_data.csv.

Also, while trying to delete this file, nothing is happening

image

3 REPLIES 3

Ajay-Pandey
Esteemed Contributor III

Hi @Sharmila Tiwary Pain​ please add dbfs:/ before your path-

Your path should be like below-

dbfs:/FileStore/vehicle_data.csv.

Aviral-Bhardwaj
Esteemed Contributor III

use these three commands and it will work

dbutils.fs.ls('dbfs:/FileStore/vehicle_data.csv')

dbutils.fs.ls('/dbfs/FileStore/vehicle_data.csv')

dbutils.fs.ls('/dbfs/dbfs/FileStore/vehicle_data.csv')

Thanks

Aviral

@Sharmila Tiwary Pain​  is this working now, please update

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.