Can Glue bookmarks be used between Glue workflow steps?

0

Hello all,

I was reading this page regarding glue bookmarks: https://docs.aws.amazon.com/glue/latest/dg/monitor-continuations.html

It looks like bookmarks functionality is limited to a single Glue job processing a growing input data file incrementally over time.

A customer has a Glue workflow that has many steps (say 5 for example). They want to know if there's a way, when their Glue workflow dies on the 4th of 5 steps, to have it skip the first 3 steps on retry.

The issue they're running into is that they are hitting their DPU limit. If the built-in Glue retries don't wait a while, then all the immediate retries will fail and the workflow crashes.

I told them Step Functions might be a better solution to catch and retry w/ exponential backoff, but they're looking to keep it simple and all in Glue, if possible.

Can anyone let me know if the Glue bookmarks and retries can be used to bookmark in between jobs in a Glue workflow, and whether Glue retries can be set to have a long retry interval with exponential backoff (like Step Functions allows)?

AWS
Dave_T
已提問 5 年前檢視次數 574 次
1 個回答
0
已接受的答案

It seems there's nowhere we could configure the retry behavior of Glue Jobs, so your idea about using StepFunctions or Airflow to do the fine-grained flow control is better way to go.

Q: How does AWS Glue handle errors?

AWS Glue monitors job event metrics and errors, and pushes all notifications to Amazon CloudWatch. With Amazon CloudWatch, you can configure a host of actions that can be triggered based on specific notifications from AWS Glue. For example, if you get an error or a success notification from Glue, you can trigger an AWS Lambda function. Glue also provides default retry behavior that will retry all failures three times before sending out an error notification. from: https://aws.amazon.com/glue/faqs/

已回答 5 年前
AWS
專家
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南