Skip to content

DataprocCreateBatchOperator: Extend with AsyncRetry #74008

Description

@vitstransky

Description

We are getting transient errors from GCP when running task with Deferrable=True, which cause trigger to fail.

Async function get_batch from hooks/dataproc.py can takes param retry: AsyncRetry, but there is currently no way how to pass it from operator to trigger.

Use case/motivation

Extend operator params so it is possible to pass retries also for async get_batch in trigger. We are generating unique batch_id for each task run, so we can't use task-level retries.

Related issues

#73675

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions