Considerations and limitations - Amazon EMR
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Considerations and limitations

  • On the IAM federation path, authorization is based on user information by default. Group-based access control and revocation checking require that you attach an IAM Identity Center instance to your IAM identity provider.

  • On the IAM federation path without an attached IAM Identity Center instance, the maximum identity lifetime is up to 7 days. A longer-running workload, such as a Spark structured streaming job, fails when the maximum is reached. Attach an IAM Identity Center instance for a maximum identity lifetime of 90 days.

  • Revocation is not immediate. When you end a user's Identity Center session, Amazon EMR Serverless picks up the revocation at the next identity recheck, which happens about every 15 minutes. When a recheck finds the propagated identity revoked or invalid, Amazon EMR Serverless terminates the user's Apache Livy sessions, Spark Connect sessions, and batch jobs: a running job moves to the FAILED state, and a queued batch job moves to the CANCELLED state. Already-issued credentials stay valid until they expire, up to 1 hour, so calls that do not evaluate the user's identity, for example Amazon S3 reads authorized by IAM alone, can continue until then.

  • Only the identity that started a Spark Connect or Apache Livy session can reconnect to it or run statements on it. The subject, issuer, and IAM Identity Center user ID must match.

  • If the incoming credentials carry no identity context, Amazon EMR Serverless runs the workload under the job execution role without a propagated user identity.

  • Streaming jobs (STREAMING mode) run under the job execution role and don't carry a propagated identity.

  • Identity propagation isn't supported across AWS Organizations. If a job reaches resources in another account by role chaining, the identity context isn't carried to the chained credentials when the target account is in a different organization.

  • The propagated identity is available in system tables on Amazon EMR Serverless releases 8.2 and higher only.

  • Identity propagation through AWS Step Functions is not supported.

  • Simplified trusted identity propagation for Amazon EMR Serverless is available in AWS commercial Regions, the AWS GovCloud (US) Regions, and the China Regions. It is not available in the ISO and ADC Regions.