vgkowski commented on code in PR #70763:
URL: https://github.com/apache/airflow/pull/70763#discussion_r4069889684
##########
providers/amazon/src/airflow/providers/amazon/aws/waiters/emr-serverless.json:
##########
@@ -152,6 +152,43 @@
"state": "success"
}
]
+ },
+ "serverless_session_ready": {
+ "operation": "GetSession",
+ "delay": 10,
+ "maxAttempts": 60,
+ "acceptors": [
+ {
+ "matcher": "path",
+ "argument": "session.state",
+ "expected": "STARTED",
+ "state": "success"
+ },
+ {
+ "matcher": "path",
+ "argument": "session.state",
+ "expected": "IDLE",
Review Comment:
The [official AWS Spark Connect instructions
](https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/spark-connect.html)
explicitly say to wait until the session is in STARTED or IDLE
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]