Github user liyinan926 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20669#discussion_r174562210
  
    --- Diff: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientApplication.scala
 ---
    @@ -202,6 +221,10 @@ private[spark] class KubernetesClientApplication 
extends SparkApplication {
         val launchTime = System.currentTimeMillis()
         val waitForAppCompletion = sparkConf.get(WAIT_FOR_APP_COMPLETION)
         val appName = sparkConf.getOption("spark.app.name").getOrElse("spark")
    +    val kubernetesResourceNamePrefix = {
    +      val uuid = 
UUID.nameUUIDFromBytes(Longs.toByteArray(launchTime)).toString.replaceAll("-", 
"")
    --- End diff --
    
    Using a uuid with `-` removed is what we already do.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to