- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 04:31 PM
Hi Isi,
Thank you for your response — I really appreciate it 😀
Apologies, I didn’t explain my concern clearly.
What I’m trying to confirm may be whether the instance profile overrides the spark.conf settings defined in a notebook.
For example, I want to access csv on S3 using the following code:
```python
```
I can access S3 via boto3, but I can't access it...
The error message is like below.
`: java.nio.file.AccessDeniedException: s3a://<source_bucket>/foo.csv: getFileStatus on s3a://<source_bucket>/foo.csv: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden; request: HEAD`
I doubt that the issue is caused by the instance profile overwriting credentials. I apologize if my hypothesis caused any misunderstanding of the current status.
Finally, my cluster is Dedicated mode now, thank you for your advice again.
Thank you.