Repository navigation
Add EmrServerlessStartSessionOperator to Amazon provider - #70763
Merged
o-nikolas merged 1 commit intoSep 29, 2026
Merged
Conversation
This was referenced Jul 30, 2026
vgkowski
marked this pull request as ready for review
July 31, 2026 09:40
vincbeck
reviewed
Aug 10, 2026
o-nikolas
reviewed
Aug 11, 2026
o-nikolas
left a comment
Contributor
There was a problem hiding this comment.
Just ran the tests, so we'll see if those go green, otherwise not seeing any glaring issues with this one 👍
Contributor
|
CI is failing |
Contributor
|
@vgkowski Are you planning to have a look or should we close this PR? |
Contributor
Author
|
Please do not close, i'll rework next week |
vgkowski
force-pushed
the
amazon-emr-serverless-start-session
branch
from
September 18, 2026 17:05
c21a42a to
01eb066
Compare
Contributor
Author
|
@o-nikolas @vincbeck I addressed the comments |
vincbeck
reviewed
Sep 21, 2026
vincbeck
approved these changes
Sep 22, 2026
Contributor
|
@vgkowski the tests are still failing |
vgkowski
force-pushed
the
amazon-emr-serverless-start-session
branch
from
September 25, 2026 10:44
43725e8 to
ddbff14
Compare
EMR Serverless users need an Airflow-native way to start Spark Connect sessions without holding worker slots while AWS provisions the session. Interactive sessions need a newer botocore than the provider's floor, so support is checked at runtime instead of forcing an upgrade on users who do not use sessions. Deferred completion relies only on the trigger event, and the triggerer polls with the task's region, SSL verification and botocore settings, so resuming does not depend on worker-local state or the default client configuration. Dag authors who opt out of waiting get the session identifiers right away in either execution mode.
vgkowski
force-pushed
the
amazon-emr-serverless-start-session
branch
from
September 25, 2026 13:22
ddbff14 to
d9aa60e
Compare
Contributor
Author
|
fixed CI failures by having the operator pass region_name, verify and botocore_config to EmrServerlessSessionTrigger |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce the operator (with deferrable mode), its EmrServerlessHook.start_session method, EmrServerlessSessionTrigger, and the serverless_session_ready waiter to start EMR Serverless interactive (Spark Connect) sessions. The hook gates on botocore 1.43.0 at runtime so the provider's dependency floor is unchanged. Includes docs, a system-test example, and unit tests.
Was generative AI tooling used to co-author this PR?
Generated-by: [Kiro] following the guidelines