AWS Security ChangesHomeSearch

AWS emr: EMR Spark 8.2.0 known issues: Lake Formation FGAC and PyPI imports

Service: emr · 2026-11-19 · Documentation low

File: emr/latest/ReleaseGuide/emr-spark820-release.md

Summary

Replaces the 'no known issues' note with three known issues for emr-spark-8.2.0: misleading errors when lacking Lake Formation permissions in fine-grained access control mode, Iceberg catalogs defined in spark-defaults failing under FGAC, and PySpark PyPI package import failures with a bootstrap-action workaround.

Security assessment

The added text documents functional known issues and workarounds (incorrect error surfaced when Lake Formation permissions are missing, Iceberg catalog resolution failures, PyPI import path problems). The Lake Formation item concerns error-message quality rather than an access-control bypass, so it is not a vulnerability fix or security guidance.

Evidence

+  * **Unexpected error message when you lack AWS Lake Formation permissions in fine-grained access control mode** – On Amazon EMR on EC2 clusters that use Lake Formation fine-grained access control, you might not have access to a Lake Formation registered table. In this case, the query fails with the following error message:

Diff

diff --git a/emr/latest/ReleaseGuide/emr-spark820-release.md b/emr/latest/ReleaseGuide/emr-spark820-release.md
index da30dc7..ba8cf70 100644
--- a//emr/latest/ReleaseGuide/emr-spark820-release.md
+++ b//emr/latest/ReleaseGuide/emr-spark820-release.md
@@ -150 +150,19 @@ Amazon EMR also removes the temporary operating system user that it creates for
-  * There are no known issues in this release.
+  * **Unexpected error message when you lack AWS Lake Formation permissions in fine-grained access control mode** – On Amazon EMR on EC2 clusters that use Lake Formation fine-grained access control, you might not have access to a Lake Formation registered table. In this case, the query fails with the following error message:
+    
+        org.sparkproject.fgac.grpc.StatusRuntimeException: INTERNAL
+
+The expected error message is the following:
+    
+        org.apache.spark.fgac.error.AccessDeniedException: Unable to verify existence of default database: ... Insufficient Lake Formation permission(s): Required Describe on default
+
+  * **Iceberg catalogs defined in the cluster's spark-defaults classification fail** – On Amazon EMR on EC2 clusters that use Lake Formation fine-grained access control, every read through an Apache Iceberg catalog that you define in the cluster's `spark-defaults` classification fails during table resolution. This affects both a named `SparkCatalog` and the `spark_catalog` override that uses `SparkSessionCatalog`. The query fails with the following error message:
+    
+        SparkFGACException: Spark FGAC experienced an internal error
+
+The same catalog keys work when you pass them for each step with `--conf`.
+
+Workaround: Remove `catalog-impl` from the cluster's `spark-defaults` classification.
+
+  * **PySpark PyPI package import failures** – On Amazon EMR on EC2, `emr-spark-8.2.0` installs the Python 3.11 libraries (for example, `boto3` and `cycler`) outside the search path of `/usr/bin/python3.11`, so PySpark can't import them. Code that imports these libraries fails, and so do `sc.install_pypi_package` and Livy sessions that install PyPI packages, including Amazon SageMaker Unified Studio sessions that use Library Management. The failure shows an error such as `ModuleNotFoundError: No module named 'six'`. Amazon EMR Serverless and Amazon EMR on EKS aren't affected.
+
+Workaround: When you create your cluster, add the `emr-8-2-pypi-ba.sh` bootstrap action from the [aws-emr-utilities](https://github.com/aws-samples/aws-emr-utilities/tree/main/utilities/emr-spark-8-2-0) repository on GitHub. The bootstrap action installs these libraries for `/usr/bin/python3.11` and keeps the versions that the release already ships.