mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user