Files
floci/src/main/java
Priamo Germosen 173141c5f2 fix(emr): give Hive one AWS SDK on emr-6.x images (#7921)
A Hive step or an EMR Serverless Hive run on a table in S3 failed on
emr-6.15.0 with NoSuchFieldError: AWS_S3_DISABLE_EXPRESS_SESSION_AUTH as
soon as S3A built its client.

Those images' Hive lib folder has the stock AWS SDK v2 modules, and the
S3 client is only in Tez's plug-in, EMR's own build of the SDK, later on
the class path, so that client ran on the stock sdk-core.

The modules the plug-in also holds now go, by name, before Hive starts,
while the container is still root: in a Hive run's wrapper, and in the
primary node's script, as the metastore service opens a table's S3
location with S3A too. An image with no loose sdk-core, as emr-7.5.0 and
emr-7.10.0 have, or without the plug-in keeps every jar.
2026-11-10 22:48:01 -06:00
..