Skip to content

EmrStartNotebookExecutionOperator seems to be calling NON-existing waiter #50587

@june109109

Description

@june109109

Apache Airflow Provider(s)

amazon

Versions of Apache Airflow Providers

apache-airflow-providers-amazon==9.7.0

Apache Airflow version

2.10.3

Operating System

Deployment

Amazon (AWS) MWAA

Deployment details

No response

What happened

airflow.providers.amazon.aws.operators.emr

    if self.wait_for_completion:
        self.hook.get_waiter("notebook_running").wait(
            NotebookExecutionId=notebook_execution_id,
            WaiterConfig=prune_dict(
                {
                    "Delay": self.waiter_delay,
                    "MaxAttempts": self.waiter_max_attempts,
                }
            ),
        )

EMR Hook doesn't seem to have waiter "notebook_running"

What you think should happen instead

No response

How to reproduce

airflow.providers.amazon.aws.operators.emr

    if self.wait_for_completion:
        self.hook.get_waiter("notebook_running").wait(
            NotebookExecutionId=notebook_execution_id,
            WaiterConfig=prune_dict(
                {
                    "Delay": self.waiter_delay,
                    "MaxAttempts": self.waiter_max_attempts,
                }
            ),
        )

EMR Hook doesn't seem to have waiter "notebook_running"

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions