Error when accessing the file from azure blob storage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 05:22 AM
I am getting the following error when accessing the file in Azure blob storage
java.io.FileNotFoundException: File /10433893690638/mnt/22200/22200Ver1.sps does not exist.
Code:
ves_blob = dbutils.widgets.get("ves_blob")
try:
dbutils.fs.ls(ves_blob )
except:
raise FileNotFoundError("File '{f}' was not found.".format(f=ves_blob ))If you look at the following mount the data bricks instance id attached (I assumed as this is in the url as adb-10433893690638.databricks.net)
/10433893690638/mnt/22200/22200Ver1.sps
when dbutils.fs.ls list the content I am assuming the mount path is only /mnt/22200/22200Ver1.sps.
Labels:
- Labels:
-
Azure
-
Azure blob storage