cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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.

Ajay Kumar Pandey

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

AviralBhardwaj

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

AviralBhardwaj

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group