Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
AndyDDC
Super User
Super User

Cannot read Parquet from local Spark cluster storage

Hi,

I've got an issue in a Synapse Spark cluster whereby a 3rd party tool generates data and saves to the clusters local tmp directory.  What I would like to do is use Spark to read the parquet files that are saved locally, problem is I don't seem to be able to do that with syntax in a Notebook:

 

 

spark.read.parquet("File:///tmp/Files/tableone/*.parquet")

 

I get "file not found" even though the error message actually shows the parquet file, so not sure why it returns "file not found".

 

Any help appreciated.

2 REPLIES 2
Anonymous
Not applicable

HI @AndyDDC,

After further test with this, I think this should related to the path. Currently the notebook will try to find the file from the notebook run time environment. (obviously, your file should not exist in it)

Perhaps you can try to move the file to file server or share this file/folder and allow to access remotely. Then you can use correspond file path and use your notebook to access and read data remotely.
Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @AndyDDC,

I think this issue should be related to the tmp folder, normally it used to cache some temporary data and they may been cleanup to release resources.
I'd like to suggest you check the folder to confirm if this parquet file stay in the folder and you have enough permission during the notebook operations.(if files have been occupancy with other processing, they may be lockup and you can't read and edit it)
You can also try to move the file to a general folder instead of the specific folders and try again with your operations.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.