Skip to content

Add extra links for EMR Serverless #31620

@dacort

Description

@dacort

Description

Add extra links to the EMR Serverless operator for S3 logs as well as the GetDashboardForJobRun API that returns a one-time link to the UI.

Use case/motivation

Allow for easier debugging of EMR Serverless jobs. Today, folks have to navigate through the AWS console to find the corresponding application and job run ID in order to gain access to the Spark UI or stdout/stderr logs. It'd be great to have direct links for both of those things.

One potential challenge is that the URL returned by the GetDashboardForJobRun API is both short-lived (expires after 1 hour) and one-time (expires on first use). I'm concerned about both poor user experience of clicking an expired or already used URL and the API impact of generating a URL every time the DAG popup is triggered even if it's not used. This may require some additional functionality in Airflow to implement.

Related issues

#29939

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions