VOOZH about

URL: https://repost.aws/questions/QUg4-f8dskTtqgjWu-m6TCIA/emr-serverless-custom-image-failure

⇱ EMR Serverless Custom Image failure | AWS re:Post


Skip to content

EMR Serverless Custom Image failure

0

Hi.

I have set up an EMR Serverless application to run a simple Hello World spark job. I've configured everything properly and the job execution is successful.

Next, I've created a custom image according to the official docs:
https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/application-custom-image.html

However, once I've updated the application to use the custom image and submitted the same Spark job it fails. No logs are available and no clue about the error cause.

Please advise a possible solution.

Thanks.

  • dacort
    3 years ago

    If you're building on an M1 or M2 Mac, make sure you've added --platform=linux/amd64 to the FROM line in your Dockerfile or you've chosen arm64 architecture when you create your application.

Topics
Analytics
Language
English

asked 3 years ago1.2K views

1 Answer
  • Newest
  • Most votes
  • Most comments
Are these answers helpful? Upvote the correct answer to help the community benefit from your knowledge.
0

Thank you. That solved my issue.

answered 3 years ago