Skip to content

Commit e0f00b2

Browse files
author
George Jahad
committed
cleanup
1 parent 01cab78 commit e0f00b2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

resource-managers/armada/core/src/main/scala/io/armadaproject/spark/scheduler/cluster/armada/ArmadaClusterManagerBackend.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ private[spark] class ArmadaClusterSchedulerBackend(
6363
val source = EnvVarSource().withFieldRef(ObjectFieldSelector()
6464
.withApiVersion("v1").withFieldPath("status.podIP"))
6565
val envVars = Seq(
66-
new EnvVar().withName("SPARK_EXECUTOR_ID").withValue("1"),
67-
new EnvVar().withName("SPARK_RESOURCE_PROFILE_ID").withValue("0"),
68-
new EnvVar().withName("SPARK_EXECUTOR_POD_NAME").withValue("test-pod-name"),
69-
new EnvVar().withName("SPARK_APPLICATION_ID").withValue("test_spark_app_id"),
70-
new EnvVar().withName("SPARK_EXECUTOR_CORES").withValue("1"),
71-
new EnvVar().withName("SPARK_EXECUTOR_MEMORY").withValue("512m"),
72-
new EnvVar().withName("SPARK_DRIVER_URL").withValue(driverURL),
73-
new EnvVar().withName("SPARK_EXECUTOR_POD_IP").withValueFrom(source)
66+
EnvVar().withName("SPARK_EXECUTOR_ID").withValue("1"),
67+
EnvVar().withName("SPARK_RESOURCE_PROFILE_ID").withValue("0"),
68+
EnvVar().withName("SPARK_EXECUTOR_POD_NAME").withValue("test-pod-name"),
69+
EnvVar().withName("SPARK_APPLICATION_ID").withValue("test_spark_app_id"),
70+
EnvVar().withName("SPARK_EXECUTOR_CORES").withValue("1"),
71+
EnvVar().withName("SPARK_EXECUTOR_MEMORY").withValue("512m"),
72+
EnvVar().withName("SPARK_DRIVER_URL").withValue(driverURL),
73+
EnvVar().withName("SPARK_EXECUTOR_POD_IP").withValueFrom(source)
7474
)
7575
val executorContainer = Container()
7676
.withName("spark-executor")

0 commit comments

Comments
 (0)