skonto commented on a change in pull request #25870: [SPARK-27936][K8S] Support python deps URL: https://github.com/apache/spark/pull/25870#discussion_r344350040
########## File path: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/DriverCommandFeatureStep.scala ########## @@ -73,7 +76,9 @@ private[spark] class DriverCommandFeatureStep(conf: KubernetesDriverConf) .withValue(conf.get(PYSPARK_MAJOR_PYTHON_VERSION)) .build()) - val pythonContainer = baseDriverContainer(pod, res) + // re-write primary resource to be the remote one and upload the related file + val newResName = KubernetesUtils.renameMainAppResource(res, Some(conf.sparkConf), false) Review comment: ok ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org