Patched Download Bootstrap Action 2 File From S3 — Master Instance Failed Attempting To
To identify the exact cause, review the ErrorDetail information via the Amazon EMR console or the DescribeCluster API.
The script file is not at the specified S3 location. To identify the exact cause, review the ErrorDetail
The EMR service role for EC2 (usually EMR_EC2_DefaultRole ) lacks s3:GetObject permission for that specific bucket. The master instance may lack a route to
The master instance may lack a route to S3, especially in a private subnet without an S3 VPC Endpoint or NAT Gateway. Common Causes If using automation like Terraform, parameters
This error typically occurs when an Amazon EMR cluster fails to launch because the primary (master) node cannot retrieve a required script or configuration file from Amazon S3. In EMR, bootstrap actions are numbered based on their order; "bootstrap action 2" indicates the second script in your list failed. Common Causes
If using automation like Terraform, parameters for the bootstrap action might be in the wrong order, causing EMR to try and download a directory instead of a file. Troubleshooting Steps