Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 10:12 PM
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()