Skip to content

Commit 2dcb524

Browse files
committed
[SPARK-35482][K8S] Use spark.blockManager.port not wrong spark.blockmanger.port
1 parent 5e91b1e commit 2dcb524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/BasicExecutorFeatureStep.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private[spark] class BasicExecutorFeatureStep(
175175
.replaceAll(ENV_EXECUTOR_ID, kubernetesConf.executorId))
176176
}
177177

178-
// 0 is invalid as kubernetes contain port request, we shall leave it
178+
// 0 is invalid as kubernetes containerPort request, we shall leave it unmounted
179179
val requiredPorts = if (blockManagerPort != 0) {
180180
Seq(
181181
(BLOCK_MANAGER_PORT_NAME, blockManagerPort))

0 commit comments

Comments
 (0)