Why does my Amazon EMR application fail with an HTTP 404 "Not Found" AmazonS3Exception?

1 minute read
0

When I run an application on Amazon EMR, the application fails with the HTTP 404 "Not Found" AmazonS3Exception: java.io.IOException: com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.services.s3.model.AmazonS3Exception: Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: 3FEDF6CC9E4A8102; S3 Extended Request ID: 4oznJE5O44ySDrMMQ4g3F0L1+1ETqD0ANPWc0kYw0278zRX+TovNyu1ceLfcw21jasFxkkPfOuM=), S3 Extended Request ID: 4oznJE5O44ySDrMMQ4g3F0L1+1ETqD0ANPWc0kYw0278zRX+TovNyu1ceLfcw21jasFxkkPfOuM=

Resolution

This error indicates that your application tried to access an Amazon Simple Storage Service (Amazon S3) file or path that doesn't exist. Here are some common causes and solutions:

  • The Amazon S3 path was mistyped or deleted: Before launching your application, confirm that you correctly entered the Amazon S3 path and that the path exists.
  • Other applications or accounts are accessing the same Amazon S3 files: It's possible that the file or path was deleted by another application or account. Before launching your application, check if other applications or accounts are actively accessing the same Amazon S3 path.

Related information

Why does my Spark or Hive job on Amazon EMR fail with an HTTP 503 "Slow Down" AmazonS3Exception?

Why does my Amazon EMR application fail with an HTTP 403 "Access Denied" AmazonS3Exception?

Error responses

AWS OFFICIAL
AWS OFFICIALUpdated a year ago