dongjoon-hyun commented on a change in pull request #24188:
[SPARK-27258][K8S]Add the prefix 'spark-' for resourceNamePrefix that starts
with number
URL: https://github.com/apache/spark/pull/24188#discussion_r268463422
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesConf.scala
##########
@@ -78,7 +78,10 @@ private[spark] class KubernetesDriverConf(
override val resourceNamePrefix: String = {
val custom = if (Utils.isTesting) get(KUBERNETES_DRIVER_POD_NAME_PREFIX)
else None
- custom.getOrElse(KubernetesConf.getResourceNamePrefix(appName))
+ val resourceNamePrefix =
custom.getOrElse(KubernetesConf.getResourceNamePrefix(appName))
Review comment:
This variable name is confusing since this is in `override val
resourceNamePrefix: String = {}`.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]