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

/dbfs is empty

FemiAnthony
New Contributor III

Why does /dbfs seem to be empty in my Databricks cluster ?

If I run

%sh ls /dbfs

I get no output.

I am looking for the databricks-datasets subdirectory ? I can't find it under /dbfs

1 ACCEPTED SOLUTION

Accepted Solutions

Prabakar
Esteemed Contributor III
Esteemed Contributor III

Hi @Femi Anthonyโ€‹ Please let us know if you are trying this in Community edition or in your workspace?

If it's CE then you won't be able to see anything under /dbfs while using %sh.

display(dbutils.fs.ls("/")) should show the dataset folder.

View solution in original post

6 REPLIES 6

Sajesh
New Contributor III
New Contributor III

Hi @Femi Anthonyโ€‹ , Do you see any results on executing: display(dbutils.fs.ls("/"))?

What's the DBR version of the cluster?

Prabakar
Esteemed Contributor III
Esteemed Contributor III

Hi @Femi Anthonyโ€‹ Please let us know if you are trying this in Community edition or in your workspace?

If it's CE then you won't be able to see anything under /dbfs while using %sh.

display(dbutils.fs.ls("/")) should show the dataset folder.

FemiAnthony
New Contributor III

Yes, this is in Community ediition. Thanks.

Prabakar
Esteemed Contributor III
Esteemed Contributor III

Okay. Then this is the limitation with CE.

Use display(dbutils.fs.ls("/")) 

Hi @Femi Anthonyโ€‹ ,

If @Prabakar Ammeappinโ€‹'s response helped you to solve your question? would you be happy to mark his answer as best so that others can quickly find the solution in the future

FemiAnthony
New Contributor III

Thanks @Prabakar Ammeappinโ€‹