Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
applying review comments & fixing a bug
  • Loading branch information
attilapiros committed Sep 27, 2022
commit c0c38be3645f2e8c64dab2b8a18d294709ce8d67
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ private[spark] class K8SSparkSubmitOperation extends SparkSubmitOperation
kubernetesClient
.pods
}
ops.withLabel(SPARK_ROLE_LABEL, SPARK_POD_DRIVER_ROLE)
val pods = ops
.withLabel(SPARK_ROLE_LABEL, SPARK_POD_DRIVER_ROLE)
.list()
.getItems
.asScala
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class ExecutorPodsLifecycleManagerSuite extends SparkFunSuite with BeforeAndAfte
verify(schedulerBackend).doRemoveExecutor("1", expectedLossReason)
}

test("test executor inactivation function") {
test("SPARK-40458: test executor inactivation function") {
val failedPod = failedExecutorWithoutDeletion(1)
val inactivated = ExecutorPodsLifecycleManager.executorInactivationFn(failedPod)
assert(inactivated.getMetadata().getLabels().get(SPARK_EXECUTOR_INACTIVE_LABEL) === "true")
Expand Down