dongjoon-hyun commented on a change in pull request #36044:
URL: https://github.com/apache/spark/pull/36044#discussion_r841107804
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/DriverCommandFeatureStep.scala
##########
@@ -67,7 +67,7 @@ private[spark] class DriverCommandFeatureStep(conf:
KubernetesDriverConf)
// re-write primary resource, app jar is also added to spark.jars by
default in SparkSubmit
// no uploading takes place here
val newResName = KubernetesUtils
- .renameMainAppResource(resource = res, shouldUploadLocal = false)
+ .renameMainAppResource(res, Option(conf.sparkConf), false)
Review comment:
+1 for @martin-g 's comment. It's also recommended in Spark community,
too.
--
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]