pralabhkumar commented on code in PR #37203:
URL: https://github.com/apache/spark/pull/37203#discussion_r950664546
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/LocalDirsFeatureStep.scala:
##########
@@ -33,12 +34,11 @@ private[spark] class LocalDirsFeatureStep(
private val useLocalDirTmpFs = conf.get(KUBERNETES_LOCAL_DIRS_TMPFS)
override def configurePod(pod: SparkPod): SparkPod = {
- var localDirs = pod.container.getVolumeMounts.asScala
+ var localDirs = randomize(pod.container.getVolumeMounts.asScala
.filter(_.getName.startsWith("spark-local-dir-"))
- .map(_.getMountPath)
- var localDirVolumes : Seq[Volume] = Seq()
- var localDirVolumeMounts : Seq[VolumeMount] = Seq()
-
Review Comment:
These line are not removed its there on line 40 and 41 .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]