You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured the AWS EKS as the compute env of AWS batch.
Then I submit a job to AWS batch, I got below error.
com.amazonaws.services.batch.model.ClientException: Container overrides or node overrides should not be set for Batch on EKS jobs.
The text was updated successfully, but these errors were encountered:
waynewang117
changed the title
Cannot submit job to AWS batch when the compute env is AWS EKS
Cannot submit job to AWS batch when the compute env of Batch is AWS EKS
Feb 26, 2025
Bug report
Expected behavior and actual behavior
I configured the AWS EKS as the compute env of AWS batch.
Then I submit a job to AWS batch, I got below error.
com.amazonaws.services.batch.model.ClientException: Container overrides or node overrides should not be set for Batch on EKS jobs.
Steps to reproduce the problem
nextflow.config
process {
executor = ‘awsbatch’
queue = 'xxxxxx'
container = 'job-definition://xxxxxx'
}
nextflow run hello -workdir=s3://xxxxxx
Program output
com.amazonaws.services.batch.model.ClientException: Container overrides or node overrides should not be set for Batch on EKS jobs.
Additional context
I guess this is cased by the hardcode "result.setContainerOverrides(container)" in below file.
https://github.com/nextflow-io/nextflow/blob/master/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy#L794
The text was updated successfully, but these errors were encountered: