test(emr): prepare Hive release images during fixture setup (#8630)

EmrHiveStepsDockerIntegrationTest prepares the emr-7.5.0 Hive release image once, in a @BeforeAll bounded at six minutes, through EmrService.releaseImage (now package-private), and releases its lease. The first Hive scenario no longer pays the image composition inside its two-minute method limit, which made it time out on slower runners.

Closes #7929
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-16 15:25:37 -04:00
1 parent f5453b9585
commit 024162483c
2 files changed
+18 -4

No files matched your search

@@ -1889,7 +1889,7 @@ public class EmrService implements Resettable, StoredResourceArns, ContainerTear
* Spark has no EMR Serverless Hive image, so {@link #SPARK_RUNTIME_HDFS_RELEASE}'s gives its Hadoop. Null for a
* cluster with neither, which starts from the release's EMR Serverless image.
*/
private Supplier<String> releaseImage(EmrCluster cluster) {
Supplier<String> releaseImage(EmrCluster cluster) {
if (releaseImages == null) {
return null;
}