Hey,
Thanks for suggesting this approach.
But I want to know why the json file cannot be read from AWS S3 bucket using "with open" in python with shared instance mode cluster.
The code works perfectly fine if I'm using a single instance mode cluster.
code:
with open("/dbfs/mnt/datalake/input.json","r") as f:
data = f.read()