通过Step Function并行启动超过15个Glue Job时,遇到Glue Throttling Exception

0

【以下的问题经过翻译处理】 我们正在使用Step Functions作为ETL 流程的一部分。我们需要启动21个任务,每个任务需要1-3分钟,消耗5 DPUs。当尝试并行运行超过15个Glue Jobs时,Step Function会出现以下错误。我们使用arn:aws:states:::glue:startJobRun.sync 任务来同步调用作业。我需要请求增加配额吗?并行启动21个作业似乎相当合理。

{ "resourceType": "glue", "resource": "startJobRun.sync", "error": "Glue.AWSGlueException", "cause": "Rate exceeded (Service: AWSGlue; Status Code: 400; Error Code: ThrottlingException; Proxy: null)" 

profile picture
EXPERTE
gefragt vor 6 Monaten9 Aufrufe
1 Antwort
0

【以下的回答经过翻译处理】 你好!好问题。

有关通用Glue服务限额,请参见此处:https://docs.aws.amazon.com/general/latest/gr/glue.html

默认的Glue限额包括:

  • 每个账户的最大并发作业运行次数(50)
  • 每个触发器的最大作业数(50)

如果要增加这些限额,可以创建“服务限额增加”请求。

对于限流异常(https://docs.aws.amazon.com/glue/latest/webapi/CommonErrors.html),我不确定API调用受限的确切限制是什么-如果情况是这样的,您可能需要使用exponential backoff 方式进行重试(我看到过其他API调用的情况):https://docs.aws.amazon.com/general/latest/gr/api-retries.html

profile picture
EXPERTE
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen