I am using the release: emr-5.33.0-latest
Whenever a spark job fails, it tries to restart 5 times. I am not able to find where this behavior is configured or if its something default, and how to disable this.
I also tried the below by using 6.9.0 emr release. https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/jobruns-using-retry-policies.html
Even after configuring
"retryPolicyConfiguration": {
"maxAttempts": 1
}
It retried it 5 times if it failed.
Does anyone know how to debug this and disable this behaviour?
Thanks