Home › Forums › AWS › AWS Certified Data Analytics – Specialty › Q23 – Review mode Set 3 › Reply To: Q23 – Review mode Set 3
-
Hello ccalvo,
Thanks for the feedback.
In the scenario, HDFS is where the data is being read by Spark. After processing this data, the results are then written to an Amazon S3 bucket.
While the question doesn’t specifically say it, Amazon EMR uses EMRFS when interfacing with Amazon S3. Also, the error message mentioned (AmazonS3Exception) gives us a hint that the problem is likely related to how the system interacts with S3.
So, based on this information, we can assume that the issue arises when EMR is trying to write the results of the Spark jobs to the S3 bucket, which makes options B (Increase the number of retries allowed by EMRFS) and C (Modify the Spark job to write results to unique S3 prefixes per job) valid approaches to solve this problem.
Let me know if this answers your question.
Regards,
Carlo @ Tutorials Dojo