Lee-W commented on issue #31322:
URL: https://github.com/apache/airflow/issues/31322#issuecomment-1556876252
I tested the following DAG
```python
create_job_flow = EmrCreateJobFlowOperator(
task_id="create_job_flow",
job_flow_overrides=JOB_FLOW_OVERRIDES,
aws_conn_id=AWS_CONN_ID,
)
```
but encountered the following issue
```
Traceback (most recent call last):
File
"/usr/local/lib/python3.10/site-packages/airflow/providers/amazon/aws/operators/emr.py",
line 695, in execute
log_uri=get_log_uri(emr_client=self._emr_hook.conn,
job_flow_id=self._job_flow_id),
File
"/usr/local/lib/python3.10/site-packages/airflow/providers/amazon/aws/links/emr.py",
line 61, in get_log_uri
log_uri = S3Hook.parse_s3_url(response["Cluster"]["LogUri"])
KeyError: 'LogUri'
```
--
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]