AWS EMR Serverless ServiceQuotaExceededException

0

Getting this error when trying to run a simple spark job which reads a json file from s3 and prints the schema.

"com.amazonaws.emr.serverless.shaded.software.amazon.awssdk.services.emrserverlessresourcemanager.model.ServiceQuotaExceededException: Worker could not be allocated as the account has reached the service limit on the maximum vCPU it can use concurrently "

I am running just this one job with 1 driver.core and 1 executor.core and 1 executor instance. The ServiceQuota is set to concurrent use of 16vCPUs. Can someone explain how might I be hitting the Service Quota limit?

Shobhit
asked 8 months ago461 views
2 Answers
1

Hi Max,

My job is running with this config "--conf spark.executor.cores=1 --conf spark.executor.memory=2g --conf spark.driver.cores=1 --conf spark.driver.memory=2g --conf spark.executor.instances=1 " and the ServiceQuotaLimit is 16 vCPUs. I am not able to understand how this is adding up to 16. Need to understand that to calculate what limit I should request for.

Shobhit
answered 8 months ago
0

You can read more about vCPU account limits here: https://aws.amazon.com/blogs/compute/preview-vcpu-based-instance-limits/

To request an increase - first determine how many vCPUs you need - then open a support case, and ask for a limit increase to the number of vCPUs that you need. Follow the process discussed in the EC2 Knowledge Center Article on vCPU Limit Increases.

AWS
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions