fix(emr-serverless): release capacity after driver address failure (#8250)

Signed-off-by: Andre Kurait <AndreKurait@users.noreply.github.com>
Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
This commit is contained in:
Jackson PriceandAndre Kurait authored and GitHub committed 2026-11-14 00:01:18 -04:00
1 parent e201709363
commit f087599883
2 files changed
+27

No files matched your search

@@ -559,6 +559,8 @@ public class EmrServerlessSparkRunner implements SparkJobRunner, ContainerTeardo
// application's capacity with them.
if (executors != null) {
executors.removeAll();
}
if (capacity != null) {
leaveCapacity(job.executors().application(), capacity);
}
String unclaimed = launches.end(job.runId(), launch);