pan3793 commented on code in PR #49440:
URL: https://github.com/apache/spark/pull/49440#discussion_r1910121468
##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -2954,6 +2954,15 @@ private[spark] object Utils
str.replaceAll("[ :/]", "-").replaceAll("[.${}'\"]",
"_").toLowerCase(Locale.ROOT)
}
+ def nameForAppAndAttempt(appId: String, appAttemptId: Option[String]):
String = {
Review Comment:
this can be reused in several places, for example
https://github.com/apache/spark/pull/42575#discussion_r1299557854
--
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]