HyukjinKwon commented on a change in pull request #31877:
URL: https://github.com/apache/spark/pull/31877#discussion_r596554864
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala
##########
@@ -79,12 +79,25 @@ private[spark] object KubernetesUtils extends Logging {
opt2.foreach { _ => require(opt1.isEmpty, errMessage) }
}
+ def getLocalTemplateFile(path: String, conf: SparkConf): File = {
Review comment:
@dongjoon-hyun how about leveraging utils such as
`DependencyUtils.downloadFile` that is used for Spark submit?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]