How to Download any file from s3 using the pyspark kernel in emr notebook ?

0

i have made a cluster of emr having 2 nodes and some tools, and created one notebook to attached them to the cluster, while running the notebook having pyspark cluster, need to download files from s3, i am using the boto3 client and trying to access the file, but getting permission denied. i attached the image for reference, roles attached to the cluster as well as the notebook has s3fullaccess policy attached. How to download file from S3.

已提問 4 年前檢視次數 643 次
1 個回答
0

it is not an emr role issue or s3 issue, just try to save the file or data in the /tmp/ directory it will work.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南