yaooqinn commented on code in PR #43615:
URL: https://github.com/apache/spark/pull/43615#discussion_r1378424187


##########
core/src/main/scala/org/apache/spark/deploy/master/Master.scala:
##########
@@ -1175,7 +1177,7 @@ private[deploy] class Master(
   }
 
   private def newDriverId(submitDate: Date): String = {
-    val appId = "driver-%s-%04d".format(createDateFormat.format(submitDate), 
nextDriverNumber)
+    val appId = driverIdPattern.format(createDateFormat.format(submitDate), 
nextDriverNumber)

Review Comment:
   I guess we need to handle exceptions here after this change.



-- 
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]

Reply via email to