Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed EMR container operator import #400

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from airflow import DAG
from airflow.hooks.base import BaseHook
from airflow.providers.amazon.aws.operators.emr_containers import EMRContainerOperator
from airflow.providers.amazon.aws.operators.emr import EmrContainerOperator
from airflow.utils.dates import days_ago


Expand Down Expand Up @@ -51,7 +51,7 @@
c = BaseHook.get_connection("emr_eks")
cluster_args = c.extra_dejson
# [START howto_operator_emr_eks_jobrun]
job_starter = EMRContainerOperator(
job_starter = EmrContainerOperator(
task_id="start_job",
virtual_cluster_id=cluster_args.get('virtual_cluster_id'),
execution_role_arn=cluster_args.get('job_role_arn'),
Expand Down
Loading